summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-04-23 17:31:40 +0000
committertron <tron@pkgsrc.org>2011-04-23 17:31:40 +0000
commit265a1d0c23966cfa5049747b861722dbf1a1a4e0 (patch)
treed88180c22746846ca126f1ad9f1c61e6e6465706 /lang
parent6c8ab8bb8c0a9daeff52d5ee2072537aa99fa375 (diff)
downloadpkgsrc-265a1d0c23966cfa5049747b861722dbf1a1a4e0.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')
-rw-r--r--lang/python25/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index 74fa93d9768..df530529c2e 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.32 2011/04/22 13:41:58 obache Exp $
+# $NetBSD: Makefile,v 1.33 2011/04/23 17:31:40 tron Exp $
.include "dist.mk"
PKGNAME= python25-${PY_DISTVERSION}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= lang python
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -147,9 +147,7 @@ INSTALL_TARGET= altinstall
REPLACE_INTERPRETER+= py25
REPLACE.py25.old= .*python[^ ]*
REPLACE.py25.new= ${PREFIX}/bin/python${PY_VER_SUFFIX}
-REPLACE_FILES.py25= Lib/cgi.py # explicitly demanded to be patched
-REPLACE_FILES.py25+= Lib/bsddb/dbshelve.py Lib/test/test_bz2.py
-REPLACE_FILES.py25+= Lib/test/test_largefile.py Lib/test/test_optparse.py
+REPLACE_FILES.py25= Lib/*.py Lib/*/*.py Lib/*/*/*.py
post-extract:
${MV} ${WRKSRC}/Lib/smtpd.py ${WRKSRC}/Lib/smtpd${PY_VER_SUFFIX}.py