ports/75044: [UPDATE] Version Check added to prevent build on python version >= 2.2
Gerhard Schmidt
estartu at augsuta.de.augusta.de
Tue Dec 14 09:00:50 UTC 2004
>Number: 75044
>Category: ports
>Synopsis: [UPDATE] Version Check added to prevent build on python version >= 2.2
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 14 09:00:49 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Gerhard Schmidt
>Release: FreeBSD 4.10-STABLE i386
>Organization:
Augsburger Computer Forum e.V.
>Environment:
System: FreeBSD etustar.ze.tum.de 4.10-STABLE FreeBSD 4.10-STABLE #26: Wed May 26 11:31:00 CEST 2004 root at etustar.ze.tum.de:/usr/src/sys/compile/ETUSTAR i386
>Description:
The E-Mail package is part of the python base distribution since python
2.2. It shouldn't be installed on systems running python 2.2 or above.
I've change the makefile to ignore the port if python version is 2.2
or higher.
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/mail/py-mimelib/Makefile py-mimelib/Makefile
--- /usr/ports/mail/py-mimelib/Makefile Mon Oct 6 14:22:25 2003
+++ py-mimelib/Makefile Tue Dec 14 09:48:15 2004
@@ -20,4 +20,10 @@
USE_PYTHON= yes
USE_PYDISTUTILS=yes
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 220
+IGNORE= "The E-Mail package is part of the Python base distribution since python 2.2"
+.endif
+
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list