Subject: pkg/21673: make swig-python also accept python-22pth
To: None <gnats-bugs@gnats.netbsd.org>
From: None <marc@informatik.uni-bremen.de>
List: netbsd-bugs
Date: 05/25/2003 14:45:52
>Number:         21673
>Category:       pkg
>Synopsis:       make swig-python also accept python-22pth
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 25 12:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Marc Recht
>Release:        NetBSD 1.6T
>Organization:
	
>Environment:
	
	
System: NetBSD leeloo.intern.geht.de 1.6T NetBSD 1.6T (LEELOO) #0: Sat May 24 15:08:20 CEST 2003 root@leeloo.intern.geht.de:/sys/arch/i386/compile/LEELOO i386
Architecture: i386
Machine: i386
>Description:
To avoid yet another dependency swig-python should also accept python-22pth
as a valid Python version.
	
>How-To-Repeat:
	
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/swig-python/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile    2003/05/25 08:50:07     1.1.1.1
+++ Makefile    2003/05/25 12:42:56
@@ -5,7 +5,7 @@
 
 .include "../swig-build/Makefile.common"
 
-PYTHON_VERSION_REQD=   22
+PYTHON_VERSIONS_ACCEPTED=      22 22pth
 
 CONFIGURE_ARGS+=       --with-python=${PYTHONBIN}
 
Index: buildlink2.mk
===================================================================
RCS file: /cvsroot/pkgsrc/devel/swig-python/buildlink2.mk,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 buildlink2.mk
--- buildlink2.mk       2003/05/25 08:50:07     1.1.1.1
+++ buildlink2.mk       2003/05/25 12:42:56
@@ -12,7 +12,7 @@
 
 BUILDLINK_FILES.swig-python+=          lib/libswigpy.*
 
-PYTHON_VERSION_REQD=                   22
+PYTHON_VERSIONS_ACCEPTED=              22 22pth
 .include "../../lang/python/pyversion.mk"
 
 .include "../../devel/swig-build/Makefile.version"
	
>Release-Note:
>Audit-Trail:
>Unformatted: