Fri Jun 26 11:16:41 2015 UTC ()
deduplicate configure argument.


(szptvlfn)
diff -r1.56 -r1.57 pkgsrc/www/firefox/mozilla-common.mk

cvs diff -r1.56 -r1.57 pkgsrc/www/firefox/mozilla-common.mk (expand / switch to unified diff)

--- pkgsrc/www/firefox/mozilla-common.mk 2015/05/16 20:08:36 1.56
+++ pkgsrc/www/firefox/mozilla-common.mk 2015/06/26 11:16:41 1.57
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: mozilla-common.mk,v 1.56 2015/05/16 20:08:36 tsutsui Exp $ 1# $NetBSD: mozilla-common.mk,v 1.57 2015/06/26 11:16:41 szptvlfn Exp $
2# 2#
3# common Makefile fragment for mozilla packages based on gecko 2.0. 3# common Makefile fragment for mozilla packages based on gecko 2.0.
4# 4#
5# used by www/firefox/Makefile 5# used by www/firefox/Makefile
6# used by www/seamonkey/Makefile 6# used by www/seamonkey/Makefile
7 7
8GNU_CONFIGURE= yes 8GNU_CONFIGURE= yes
9USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip 9USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip
10USE_LANGUAGES+= c99 c++ 10USE_LANGUAGES+= c99 c++
11UNLIMIT_RESOURCES+= datasize 11UNLIMIT_RESOURCES+= datasize
12 12
13test: 13test:
14 cd ${WRKSRC}/${OBJDIR}/dist/bin && \ 14 cd ${WRKSRC}/${OBJDIR}/dist/bin && \
@@ -78,27 +78,26 @@ CONFIGURE_ARGS+= --disable-elf-dynstr-gc @@ -78,27 +78,26 @@ CONFIGURE_ARGS+= --disable-elf-dynstr-gc
78CONFIGURE_ARGS+= --disable-gconf 78CONFIGURE_ARGS+= --disable-gconf
79CONFIGURE_ARGS+= --enable-gio 79CONFIGURE_ARGS+= --enable-gio
80CONFIGURE_ARGS+= --enable-extensions=gio 80CONFIGURE_ARGS+= --enable-extensions=gio
81CONFIGURE_ARGS+= --disable-mochitest 81CONFIGURE_ARGS+= --disable-mochitest
82CONFIGURE_ARGS+= --enable-canvas 82CONFIGURE_ARGS+= --enable-canvas
83#CONFIGURE_ARGS+= --enable-readline 83#CONFIGURE_ARGS+= --enable-readline
84CONFIGURE_ARGS+= --disable-installer 84CONFIGURE_ARGS+= --disable-installer
85CONFIGURE_ARGS+= --enable-url-classifier 85CONFIGURE_ARGS+= --enable-url-classifier
86#CONFIGURE_ARGS+= --enable-startup-notification 86#CONFIGURE_ARGS+= --enable-startup-notification
87# Disabled from https://bugzilla.mozilla.org/show_bug.cgi?id=977400 87# Disabled from https://bugzilla.mozilla.org/show_bug.cgi?id=977400
88CONFIGURE_ARGS+= --enable-shared-js 88CONFIGURE_ARGS+= --enable-shared-js
89CONFIGURE_ARGS+= --with-system-ply 89CONFIGURE_ARGS+= --with-system-ply
90CONFIGURE_ARGS+= --disable-icf 90CONFIGURE_ARGS+= --disable-icf
91CONFIGURE_ARGS+= --disable-necko-wifi 
92CONFIGURE_ARGS+= --disable-updater 91CONFIGURE_ARGS+= --disable-updater
93 92
94SUBST_CLASSES+= fix-paths 93SUBST_CLASSES+= fix-paths
95SUBST_STAGE.fix-paths= pre-configure 94SUBST_STAGE.fix-paths= pre-configure
96SUBST_MESSAGE.fix-paths= Fixing absolute paths. 95SUBST_MESSAGE.fix-paths= Fixing absolute paths.
97SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h 96SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h
98SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp 97SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp
99SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' 98SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g'
100 99
101CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess 100CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess
102CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess 101CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess
103CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess 102CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess
104CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess 103CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess