summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorrillig <rillig>2006-02-07 09:21:38 +0000
committerrillig <rillig>2006-02-07 09:21:38 +0000
commitae82b12c78f247602fae96955f023a239a6935e0 (patch)
treedfe2280d93fa475bc6f5dd5ada0e69f03be054a2 /www
parentd40de113be7dfa808250fb0f24cab2243d6e7ec8 (diff)
downloadpkgsrc-ae82b12c78f247602fae96955f023a239a6935e0.tar.gz
Fixed some pkglint -Wall warnings. This should fix PR 32763.
Diffstat (limited to 'www')
-rw-r--r--www/firefox/Makefile.common35
1 files changed, 17 insertions, 18 deletions
diff --git a/www/firefox/Makefile.common b/www/firefox/Makefile.common
index e5c70818786..1463b029263 100644
--- a/www/firefox/Makefile.common
+++ b/www/firefox/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2006/02/06 09:57:56 rillig Exp $
+# $NetBSD: Makefile.common,v 1.7 2006/02/07 09:21:38 rillig Exp $
MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= mozilla-${MOZ_DIST_VER}-source
@@ -37,8 +37,8 @@ PKGCONFIG_OVERRIDE= build/unix/*.pc
CONFIGURE_ARGS+= --disable-tests
CONFIGURE_ARGS+= --disable-pedantic
-CONFIGURE_ARGS+= --with-system-jpeg=${BUILDLINK_PREFIX.jpeg}
-CONFIGURE_ARGS+= --with-system-png=${BUILDLINK_PREFIX.png}
+CONFIGURE_ARGS+= --with-system-jpeg=${BUILDLINK_PREFIX.jpeg:Q}
+CONFIGURE_ARGS+= --with-system-png=${BUILDLINK_PREFIX.png:Q}
CONFIGURE_ARGS+= --enable-crypto
SHAREMODE?= 644
@@ -92,7 +92,7 @@ CONFIGURE_ARGS+= --enable-xinerama
# avoid creating a .mozilla directory in the users home
# directory
-SCRIPTS_ENV+= HOME="${WRKDIR:Q}"
+SCRIPTS_ENV+= HOME=${WRKDIR:Q}
PLIST_SUBST+= MOZILLA=${MOZILLA:Q}
PLIST_SUBST+= MOZILLA_BIN=${MOZILLA_BIN:Q}
@@ -100,13 +100,13 @@ FILES_SUBST+= MOZILLA=${MOZILLA:Q}
FILES_SUBST+= MOZILLA_BIN=${MOZILLA_BIN:Q}
.if ${OBJECT_FMT} == "ELF"
SO_SUFFIX= so
-SCRIPTS_ENV+= MOZ_INSTALL_LIB="${INSTALL_PROGRAM:Q}"
+SCRIPTS_ENV+= MOZ_INSTALL_LIB=${INSTALL_PROGRAM:Q}
.elif ${OBJECT_FMT} == "Mach-O"
SO_SUFFIX= dylib
-SCRIPTS_ENV+= MOZ_INSTALL_LIB="${INSTALL_LIB:Q}"
+SCRIPTS_ENV+= MOZ_INSTALL_LIB=${INSTALL_LIB:Q}
.else
SO_SUFFIX= so.1.0
-SCRIPTS_ENV+= MOZ_INSTALL_LIB="${INSTALL_PROGRAM:Q}"
+SCRIPTS_ENV+= MOZ_INSTALL_LIB=${INSTALL_PROGRAM:Q}
.endif
PLIST_SUBST+= SO_SUFFIX=${SO_SUFFIX:Q}
@@ -154,23 +154,22 @@ BUILDLINK_PASSTHRU_DIRS+=/Developer
.endif
post-extract:
-.for f in ${XPTCFILES}
- ${CP} ${FILESDIR}/${f} ${WRKSRC}/xpcom/reflect/xptcall/src/md/unix/${f}
-.endfor
+ cd ${FILESDIR:Q} \
+ && ${CP} ${XPTCFILES} ${WRKSRC:Q}/xpcom/reflect/xptcall/src/md/unix/
pre-configure:
- cd ${WRKSRC} && autoconf
- cd ${WRKSRC}/nsprpub && autoconf
- cd ${WRKSRC}/directory/c-sdk && autoconf
+ cd ${WRKSRC:Q} && autoconf
+ cd ${WRKSRC:Q}/nsprpub && autoconf
+ cd ${WRKSRC:Q}/directory/c-sdk && autoconf
post-build:
${ECHO} skin,install,select,classic/1.0 >> \
- ${WRKSRC}/dist/bin/chrome/installed-chrome.txt
+ ${WRKSRC:Q}/dist/bin/chrome/installed-chrome.txt
${ECHO} locale,install,select,en-US >> \
- ${WRKSRC}/dist/bin/chrome/installed-chrome.txt
+ ${WRKSRC:Q}/dist/bin/chrome/installed-chrome.txt
do-install:
- ${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR}/moz-install
+ ${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR:Q}/moz-install
.include "../../mk/pthread.buildlink3.mk"
@@ -190,8 +189,8 @@ CONFIGURE_ARGS+= --enable-xft
SUBST_CLASSES+= pc
SUBST_STAGE.pc= post-extract
SUBST_FILES.pc= build/unix/*.pc.in
-SUBST_SED.pc= -e "s|%includedir%|${PREFIX}/include/${MOZILLA}|g" \
- -e "s|%libdir%|${PREFIX}/lib/${MOZILLA}|g"
+SUBST_SED.pc= -e 's|%includedir%|${PREFIX}/include/${MOZILLA}|g'
+SUBST_SED.pc+= -e 's|%libdir%|${PREFIX}/lib/${MOZILLA}|g'
SUBST_MESSAGE.pc= Fixing pkgconfig files.
.include "../../www/mozilla/options.mk"