summaryrefslogtreecommitdiff
path: root/lang/python27
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
commita2d4bb4eca4d15c6f339a88753c82cdc08f97aeb (patch)
tree50a0138b8a7aecf1ba567e382b710ae97e62f1d5 /lang/python27
parented222bceee6f8f97cd80b55ab03c57cd22aa9051 (diff)
downloadpkgsrc-a2d4bb4eca4d15c6f339a88753c82cdc08f97aeb.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/python27')
-rw-r--r--lang/python27/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 817b52dc21a..c67d473ba1d 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2011/04/22 13:42:06 obache Exp $
+# $NetBSD: Makefile,v 1.4 2011/04/23 10:35:28 tron Exp $
.include "dist.mk"
PKGNAME= python27-${PY_DISTVERSION}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang python
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -143,9 +143,7 @@ INSTALL_TARGET= altinstall
REPLACE_INTERPRETER+= py27
REPLACE.py27.old= .*python[^ ]*
REPLACE.py27.new= ${PREFIX}/bin/python${PY_VER_SUFFIX}
-REPLACE_FILES.py27= Lib/cgi.py # explicitly demanded to be patched
-REPLACE_FILES.py27+= Lib/bsddb/dbshelve.py Lib/test/test_bz2.py
-REPLACE_FILES.py27+= Lib/test/test_largefile.py Lib/test/test_optparse.py
+REPLACE_FILES.py27= Lib/*.py Lib/*/*.py Lib/*/*/*.py
SUBST_CLASSES+= findlib
SUBST_MESSAGE.findlib= Fixing find_library_file on Darwin.