summaryrefslogtreecommitdiff
path: root/lang/python24
diff options
context:
space:
mode:
authorrillig <rillig>2005-12-05 20:49:47 +0000
committerrillig <rillig>2005-12-05 20:49:47 +0000
commitb4f920543059af038598712771c3211999ef42a6 (patch)
treedac5b1dd14794d86b061d26b9503adb2552ed3f8 /lang/python24
parent5bf026ec112f405b514a2d69a72e10fa92c4c524 (diff)
downloadpkgsrc-b4f920543059af038598712771c3211999ef42a6.tar.gz
Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Diffstat (limited to 'lang/python24')
-rw-r--r--lang/python24/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 49f01426422..0a3b35b5818 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2005/11/16 19:18:59 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2005/12/05 20:50:27 rillig Exp $
#
DISTNAME= Python-2.4.2
@@ -19,16 +19,16 @@ CONFLICTS+= python-[0-9]*
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
-CONFIGURE_ARGS+= OPT="${CFLAGS}"
+CONFIGURE_ARGS+= OPT=${CFLAGS:M*:Q}
-PTHREAD_OPTS= require
+PTHREAD_OPTS+= require
.include "../../mk/pthread.buildlink3.mk"
.if ${PTHREAD_TYPE} == "pth"
CONFIGURE_ARGS+= --with-pth
.endif
# fdatasync()
-LIBS.SunOS= -lrt
+LIBS.SunOS+= -lrt
PY_VER_SUFFIX= 2.4
@@ -49,7 +49,7 @@ PY_PLATNAME= sunos${OS_VERSION:C/\..*//}
.else
PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif
-PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME}
+PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q}
# the dl module isn't built for 64 bit archs and Darwin
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" \
@@ -76,8 +76,8 @@ OSSAUDIODEV_SUBST=
EXTRA_SO_SUBST=
.endif
-PLIST_SUBST+= EXTRA_SO=${EXTRA_SO_SUBST}
-PLIST_SUBST+= OSSAUDIODEV=${OSSAUDIODEV_SUBST}
+PLIST_SUBST+= EXTRA_SO=${EXTRA_SO_SUBST:Q}
+PLIST_SUBST+= OSSAUDIODEV=${OSSAUDIODEV_SUBST:Q}
# Make sure python modules can link correctly
.if ${OPSYS} == "Darwin"
@@ -94,7 +94,7 @@ PLIST_SUBST+= BSDDBMODULE="@comment "
PLIST_SUBST+= NOSHLIB="@comment "
.else
. include "../../mk/bdb.buildlink3.mk"
-MAKE_ENV+= PY_BDB_TYPE=${BDB_TYPE}
+MAKE_ENV+= PY_BDB_TYPE=${BDB_TYPE:Q}
MAKE_ENV+= PY_BDB_INCDIRS=${BDBBASE}/${BUILDLINK_INCDIRS.${BDB_TYPE}}
MAKE_ENV+= PY_BDB_LIBDIRS=${BDBBASE}/lib
PLIST_SUBST+= BSDDBMODULE=
@@ -103,10 +103,10 @@ PLIST_SUBST+= NISMODULE=
.endif
.if defined(BUILDLINK_TRANSFORM)
-MAKE_ENV+= PY_BDB_TRANSFORM="${BUILDLINK_TRANSFORM}"
+MAKE_ENV+= PY_BDB_TRANSFORM=${BUILDLINK_TRANSFORM:Q}
.endif
-PLIST_SUBST+= PY_VER_SUFFIX=${PY_VER_SUFFIX}
+PLIST_SUBST+= PY_VER_SUFFIX=${PY_VER_SUFFIX:Q}
TEST_TARGET= test
INSTALL_TARGET= altinstall