summaryrefslogtreecommitdiff
path: root/lang/python26
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-04-23 10:35:28 +0000
committertron <tron@pkgsrc.org>2011-04-23 10:35:28 +0000
commitb025504a3e7c221e0b9c55512332072ba30cabf8 (patch)
tree50a0138b8a7aecf1ba567e382b710ae97e62f1d5 /lang/python26
parent1531546405b093045b6da1adb88281e51e3fa45f (diff)
downloadpkgsrc-b025504a3e7c221e0b9c55512332072ba30cabf8.tar.gz
Correct path to Python interpreter in all ".py" files to fix build
with revision 1.26 of "pkgsrc/mk/check/check-interpreter.mk". Bump package revision because the binary package changed.
Diffstat (limited to 'lang/python26')
-rw-r--r--lang/python26/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/lang/python26/Makefile b/lang/python26/Makefile
index 480e5efa180..5efcdf131f5 100644
--- a/lang/python26/Makefile
+++ b/lang/python26/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.37 2011/04/23 01:41:36 obache Exp $
+# $NetBSD: Makefile,v 1.38 2011/04/23 10:39:01 tron Exp $
.include "dist.mk"
PKGNAME= python26-${PY_DISTVERSION}
-PKGREVISION= 8
+PKGREVISION= 9
CATEGORIES= lang python
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -142,16 +142,7 @@ INSTALL_TARGET= altinstall
REPLACE_INTERPRETER+= py26
REPLACE.py26.old= .*python[^ ]*
REPLACE.py26.new= ${PREFIX}/bin/python${PY_VER_SUFFIX}
-REPLACE_FILES.py26= Lib/cgi.py # explicitly demanded to be patched
-REPLACE_FILES.py26+= Lib/bsddb/dbshelve.py Lib/test/test_bz2.py
-REPLACE_FILES.py26+= Lib/test/test_largefile.py Lib/test/test_optparse.py
-REPLACE_FILES.py26+= Lib/*.py
-REPLACE_FILES.py26+= Lib/test/*.py
-REPLACE_FILES.py26+= Lib/bsddb/test/test_dbtables.py
-REPLACE_FILES.py26+= Lib/encodings/rot_13.py
-REPLACE_FILES.py26+= Lib/idlelib/PyShell.py
-REPLACE_FILES.py26+= Lib/lib2to3/pgen2/token.py
-REPLACE_FILES.py26+= Lib/lib2to3/tests/pytree_idempotency.py
+REPLACE_FILES.py26= Lib/*.py Lib/*/*.py Lib/*/*/*.py
SUBST_CLASSES+= findlib
SUBST_MESSAGE.findlib= Fixing find_library_file on Darwin.