summaryrefslogtreecommitdiff
path: root/lang/python23/Makefile.common
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-12-05 20:49:47 +0000
committerrillig <rillig@pkgsrc.org>2005-12-05 20:49:47 +0000
commitb71a1d488b6b45e0a968a4c149990c25b6a09215 (patch)
treedac5b1dd14794d86b061d26b9503adb2552ed3f8 /lang/python23/Makefile.common
parent624eed58928f83676fbd7ca01a5f6974bb2cce2a (diff)
downloadpkgsrc-b71a1d488b6b45e0a968a4c149990c25b6a09215.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/python23/Makefile.common')
-rw-r--r--lang/python23/Makefile.common18
1 files changed, 9 insertions, 9 deletions
diff --git a/lang/python23/Makefile.common b/lang/python23/Makefile.common
index 0180eba6936..b327f0f164b 100644
--- a/lang/python23/Makefile.common
+++ b/lang/python23/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.27 2005/07/03 19:49:06 recht Exp $
+# $NetBSD: Makefile.common,v 1.28 2005/12/05 20:50:27 rillig Exp $
#
DISTNAME= Python-2.3.5
@@ -13,10 +13,10 @@ COMMENT= Interpreted, interactive, object-oriented programming language
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
-CONFIGURE_ARGS+= OPT="${CFLAGS}"
+CONFIGURE_ARGS+= OPT=${CFLAGS:M*:Q}
# fdatasync()
-LIBS.SunOS= -lrt
+LIBS.SunOS+= -lrt
.include "../../mk/bsd.prefs.mk"
@@ -35,7 +35,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" \
@@ -62,8 +62,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"
@@ -80,7 +80,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=
@@ -94,10 +94,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