From estartu@etustar.ze.tum.de  Tue Dec 14 08:56:21 2004
Return-Path: <estartu@etustar.ze.tum.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2DB9016A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Dec 2004 08:56:21 +0000 (GMT)
Received: from etustar.ze.tum.de (etustar.ze.tum.de [129.187.39.96])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 89BB743D64
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Dec 2004 08:56:20 +0000 (GMT)
	(envelope-from estartu@etustar.ze.tum.de)
Received: from etustar.ze.tum.de (estartu@localhost.ze.tu-muenchen.de [127.0.0.1])
	by etustar.ze.tum.de (8.12.11/8.12.11) with ESMTP id iBE8uIkR065319
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Dec 2004 09:56:18 +0100 (CET)
	(envelope-from estartu@etustar.ze.tum.de)
Received: (from estartu@localhost)
	by etustar.ze.tum.de (8.12.11/8.12.11/Submit) id iBE8uIn5065318;
	Tue, 14 Dec 2004 09:56:18 +0100 (CET)
	(envelope-from estartu)
Message-Id: <200412140856.iBE8uIn5065318@etustar.ze.tum.de>
Date: Tue, 14 Dec 2004 09:56:18 +0100 (CET)
From: Gerhard Schmidt <estartu@augsuta.de.augusta.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [UPDATE] Version Check added to prevent build on python version >= 2.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 14 09:00:49 GMT 2004
>Closed-Date:    Tue Dec 14 22:35:14 GMT 2004
>Last-Modified:  Tue Dec 14 22:35:14 GMT 2004
>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:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Tue Dec 14 22:35:07 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75044 
>Unformatted:
