Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2004 09:56:18 +0100 (CET)
From:      Gerhard Schmidt <estartu@augsuta.de.augusta.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75044: [UPDATE] Version Check added to prevent build on python version >= 2.2
Message-ID:  <200412140856.iBE8uIn5065318@etustar.ze.tum.de>
Resent-Message-ID: <200412140900.iBE90ndB069175@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412140856.iBE8uIn5065318>