summaryrefslogtreecommitdiff
path: root/lang/python23
diff options
context:
space:
mode:
authorminskim <minskim>2006-05-14 20:46:37 +0000
committerminskim <minskim>2006-05-14 20:46:37 +0000
commit586edb40f4c9c1626bd62837f6cf344cb2c70c0b (patch)
tree2f9c7422eabf5dffbcd7d319cd965eb1015fce4c /lang/python23
parent677f14838f873e4b16cd5c553345c9719d4b6889 (diff)
downloadpkgsrc-586edb40f4c9c1626bd62837f6cf344cb2c70c0b.tar.gz
Fix CHECK_INTERPRETER errors and warnings. Bump PKGREVISION.
Diffstat (limited to 'lang/python23')
-rw-r--r--lang/python23/Makefile4
-rw-r--r--lang/python23/Makefile.common10
2 files changed, 11 insertions, 3 deletions
diff --git a/lang/python23/Makefile b/lang/python23/Makefile
index 888ff05ff92..acfe750990a 100644
--- a/lang/python23/Makefile
+++ b/lang/python23/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.36 2006/05/06 02:12:06 minskim Exp $
+# $NetBSD: Makefile,v 1.37 2006/05/14 20:46:37 minskim Exp $
#
PKGNAME= python23-2.3.5
-PKGREVISION= 8
+PKGREVISION= 9
CONFLICTS+= python-[0-9]*
diff --git a/lang/python23/Makefile.common b/lang/python23/Makefile.common
index 2b9f2fbb5d8..a17f8a09c59 100644
--- a/lang/python23/Makefile.common
+++ b/lang/python23/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.32 2006/05/07 15:15:27 tv Exp $
+# $NetBSD: Makefile.common,v 1.33 2006/05/14 20:46:37 minskim Exp $
#
DISTNAME= Python-2.3.5
@@ -19,6 +19,14 @@ CONFIGURE_ARGS+= OPT=${CFLAGS:M*:Q}
# fdatasync()
LIBS.SunOS+= -lrt
+REPLACE_INTERPRETER+= python
+REPLACE.python.old= .*python
+REPLACE.python.new= ${PREFIX}/bin/python${PY_VER_SUFFIX}
+REPLACE_FILES.python= Lib/cgi.py Lib/bsddb/dbshelve.py Lib/idlelib/idle \
+ Lib/idlelib/idle.py Lib/test/test_bz2.py \
+ Lib/test/test_largefile.py Lib/test/test_optparse.py
+CHECK_INTERPRETER_SKIP= lib/python${PY_VER_SUFFIX}/test/test_pep263.py
+
.include "../../mk/bsd.prefs.mk"
PLIST_SRC= ${.CURDIR}/../../lang/python23/PLIST.common