diff options
author | rillig <rillig> | 2005-12-05 20:49:47 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-12-05 20:49:47 +0000 |
commit | b4f920543059af038598712771c3211999ef42a6 (patch) | |
tree | dac5b1dd14794d86b061d26b9503adb2552ed3f8 /lang/python23 | |
parent | 5bf026ec112f405b514a2d69a72e10fa92c4c524 (diff) | |
download | pkgsrc-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/python23')
-rw-r--r-- | lang/python23/Makefile | 4 | ||||
-rw-r--r-- | lang/python23/Makefile.common | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/lang/python23/Makefile b/lang/python23/Makefile index 128224f9730..80da4710c29 100644 --- a/lang/python23/Makefile +++ b/lang/python23/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2005/11/16 19:18:59 joerg Exp $ +# $NetBSD: Makefile,v 1.32 2005/12/05 20:50:27 rillig Exp $ # PKGNAME= python23-2.3.5 @@ -8,7 +8,7 @@ CONFLICTS+= python-[0-9]* #PKG_INSTALLATION_TYPES= overwrite pkgviews -PTHREAD_OPTS= require +PTHREAD_OPTS+= require .include "../../mk/pthread.buildlink3.mk" .if ${PTHREAD_TYPE} == "pth" CONFIGURE_ARGS+= --with-pth 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 |