| @@ -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 | |
8 | GNU_CONFIGURE= yes | | 8 | GNU_CONFIGURE= yes |
9 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip | | 9 | USE_TOOLS+= pkg-config perl gmake autoconf213 unzip zip |
10 | USE_LANGUAGES+= c99 c++ | | 10 | USE_LANGUAGES+= c99 c++ |
11 | UNLIMIT_RESOURCES+= datasize | | 11 | UNLIMIT_RESOURCES+= datasize |
12 | | | 12 | |
13 | test: | | 13 | test: |
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 |
78 | CONFIGURE_ARGS+= --disable-gconf | | 78 | CONFIGURE_ARGS+= --disable-gconf |
79 | CONFIGURE_ARGS+= --enable-gio | | 79 | CONFIGURE_ARGS+= --enable-gio |
80 | CONFIGURE_ARGS+= --enable-extensions=gio | | 80 | CONFIGURE_ARGS+= --enable-extensions=gio |
81 | CONFIGURE_ARGS+= --disable-mochitest | | 81 | CONFIGURE_ARGS+= --disable-mochitest |
82 | CONFIGURE_ARGS+= --enable-canvas | | 82 | CONFIGURE_ARGS+= --enable-canvas |
83 | #CONFIGURE_ARGS+= --enable-readline | | 83 | #CONFIGURE_ARGS+= --enable-readline |
84 | CONFIGURE_ARGS+= --disable-installer | | 84 | CONFIGURE_ARGS+= --disable-installer |
85 | CONFIGURE_ARGS+= --enable-url-classifier | | 85 | CONFIGURE_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 |
88 | CONFIGURE_ARGS+= --enable-shared-js | | 88 | CONFIGURE_ARGS+= --enable-shared-js |
89 | CONFIGURE_ARGS+= --with-system-ply | | 89 | CONFIGURE_ARGS+= --with-system-ply |
90 | CONFIGURE_ARGS+= --disable-icf | | 90 | CONFIGURE_ARGS+= --disable-icf |
91 | CONFIGURE_ARGS+= --disable-necko-wifi | | | |
92 | CONFIGURE_ARGS+= --disable-updater | | 91 | CONFIGURE_ARGS+= --disable-updater |
93 | | | 92 | |
94 | SUBST_CLASSES+= fix-paths | | 93 | SUBST_CLASSES+= fix-paths |
95 | SUBST_STAGE.fix-paths= pre-configure | | 94 | SUBST_STAGE.fix-paths= pre-configure |
96 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. | | 95 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. |
97 | SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h | | 96 | SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h |
98 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp | | 97 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp |
99 | SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' | | 98 | SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' |
100 | | | 99 | |
101 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess | | 100 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}build/autoconf/config.guess |
102 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess | | 101 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}js/src/build/autoconf/config.guess |
103 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess | | 102 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}nsprpub/build/autoconf/config.guess |
104 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess | | 103 | CONFIG_GUESS_OVERRIDE+= ${MOZILLA_DIR}/js/ctypes/libffi/config.guess |