ports/136799: [patch] mail/py-milter: Fix Python version requirement
Oliver Fromme
olli at secnetix.de
Wed Jul 15 17:00:07 UTC 2009
>Number: 136799
>Category: ports
>Synopsis: [patch] mail/py-milter: Fix Python version requirement
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 15 17:00:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Oliver Fromme
>Release: n/a
>Organization:
secnetix GmbH & Co. KG
http://www.secnetix.de/bsd
>Environment:
n/a
>Description:
Currently the mail/py-milter port cotains the line
USE_PYTHON=2.4
which means it always pulls in python24 as a dependency,
even if a newer Python version is already installed.
However, the py-milter port works perfectly fine with
Python 2.5 and 2.6 (not with 3.x, though). It's not
necessary to install an old Python version.
The patch below changes the requirement, so any newer
2.x version is accepted (note that Python's C API is
stable across a major version number).
>How-To-Repeat:
Install Python (the current default version is 2.6),
then try to install mail/py-milter. It will install
the old Python 2.4 as a dependency.
>Fix:
--- mail/py-milter/Makefile.orig 2007-01-06 02:36:30.000000000 +0100
+++ mail/py-milter/Makefile 2009-07-15 18:35:25.000000000 +0200
@@ -21,7 +21,7 @@
.endif
DIST_SUBDIR= python
-USE_PYTHON= 2.4
+USE_PYTHON= 2.4-2.9
USE_PYDISTUTILS=yes
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list