From 6d591edab80a50223b96325e248b0cbb726806e6 Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 13 Mar 2006 12:59:08 +0000 Subject: Fixed the interpreter paths of some installed Python programs. Bumped PKGREVISION. --- lang/python24/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'lang/python24') 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} -- cgit v1.2.3