summaryrefslogtreecommitdiff
path: root/lang/python26
diff options
context:
space:
mode:
authortron <tron>2011-04-23 10:35:28 +0000
committertron <tron>2011-04-23 10:35:28 +0000
commit2ef6564aa4d45bc755719fb25a76a2376797f9af (patch)
tree50a0138b8a7aecf1ba567e382b710ae97e62f1d5 /lang/python26
parentb7ba70169a1e4a91c8bf11873455860f5ced7bf1 (diff)
downloadpkgsrc-2ef6564aa4d45bc755719fb25a76a2376797f9af.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.