diff options
author | rillig <rillig> | 2006-03-13 12:59:08 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-03-13 12:59:08 +0000 |
commit | 40e6ba65964ee49f25967e06645c4607d2a90067 (patch) | |
tree | cb4c6639baa2df8b349aff339e5bbb9fb42decf4 /lang | |
parent | 85f7f62d5856293d33a4a93aee51dc84f4cd44c1 (diff) | |
download | pkgsrc-40e6ba65964ee49f25967e06645c4607d2a90067.tar.gz |
Fixed the interpreter paths of some installed Python programs. Bumped
PKGREVISION.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python24/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile index 875abbd7f35..1bc46b3a4fb 100644 --- a/lang/python24/Makefile +++ b/lang/python24/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.21 2006/03/09 21:04:44 jlam Exp $ +# $NetBSD: Makefile,v 1.22 2006/03/13 12:59:08 rillig Exp $ # DISTNAME= Python-2.4.2 PKGNAME= python24-2.4.2 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= lang python MASTER_SITES= ftp://ftp.python.org/pub/python/2.4.2/ EXTRACT_SUFX= .tar.bz2 @@ -111,6 +111,13 @@ PLIST_SUBST+= PY_VER_SUFFIX=${PY_VER_SUFFIX:Q} TEST_TARGET= test INSTALL_TARGET= altinstall +REPLACE_INTERPRETER+= py24 +REPLACE.py24.old= .*python[^ ]* +REPLACE.py24.new= ${PREFIX}/bin/python${PY_VER_SUFFIX} +REPLACE_FILES.py24= Lib/cgi.py # explicitly demanded to be patched +REPLACE_FILES.py24+= Lib/bsddb/dbshelve.py Lib/test/test_bz2.py +REPLACE_FILES.py24+= Lib/test/test_largefile.py Lib/test/test_optparse.py + post-extract: ${MV} ${WRKSRC}/Lib/smtpd.py ${WRKSRC}/Lib/smtpd${PY_VER_SUFFIX}.py ${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc${PY_VER_SUFFIX} |