NetBSD Problem Report #21673

Received: (qmail 14202 invoked by uid 605); 25 May 2003 12:45:59 -0000
Message-Id: <20030525124552.E1C6B1EA6CF@leeloo.intern.geht.de>
Date: Sun, 25 May 2003 14:45:52 +0200 (CEST)
From: marc@informatik.uni-bremen.de
Sender: gnats-bugs-owner@netbsd.org
Reply-To: marc@informatik.uni-bremen.de
To: gnats-bugs@gnats.netbsd.org
Cc: epg@netbsd.org
Subject: make swig-python also accept python-22pth
X-Send-Pr-Version: 3.95

>Number:         21673
>Category:       pkg
>Synopsis:       make swig-python also accept python-22pth
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 25 12:46:00 +0000 2003
>Closed-Date:    Fri May 30 11:26:37 +0000 2003
>Last-Modified:  Fri May 30 11:34:00 +0000 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: epg 
State-Changed-When: Fri May 30 11:25:44 UTC 2003 
State-Changed-Why:  
I have committed your patch (revision 1.2 of both Makefile and buildlink2.mk). 
Thanks. 

From: Eric Gillespie <epg@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: pr/21673 CVS commit: pkgsrc/devel/swig-python
Date: Fri, 30 May 2003 11:33:27 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	epg
 Date:		Fri May 30 11:33:27 UTC 2003

 Modified Files:
 	pkgsrc/devel/swig-python: Makefile buildlink2.mk

 Log Message:
 Really fix PR pkg/21673 (use PYTHON_VERSION_ACCEPTED instead of
 PYTHON_VERSION_REQD).


 To generate a diff of this commit:
 cvs rdiff -r1.2 -r1.3 pkgsrc/devel/swig-python/Makefile \
     pkgsrc/devel/swig-python/buildlink2.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.