| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: mozilla-common.mk,v 1.13 2010/03/16 10:56:36 tnn Exp $ | | 1 | # $NetBSD: mozilla-common.mk,v 1.14 2010/04/28 09:37:28 tnn Exp $ |
2 | # | | 2 | # |
3 | # common Makefile fragment for mozilla packages based on gecko 1.9.1. | | 3 | # common Makefile fragment for mozilla packages based on gecko 1.9.1. |
4 | # | | 4 | # |
5 | # used by devel/xulrunner/Makefile | | 5 | # used by devel/xulrunner/Makefile |
6 | # used by mail/thunderbird/Makefile | | 6 | # used by mail/thunderbird/Makefile |
7 | # used by www/firefox/Makefile | | 7 | # used by www/firefox/Makefile |
8 | # used by www/seamonkey/Makefile | | 8 | # used by www/seamonkey/Makefile |
9 | | | 9 | |
10 | GNU_CONFIGURE= yes | | 10 | GNU_CONFIGURE= yes |
11 | USE_TOOLS+= pkg-config perl gmake autoconf213 | | 11 | USE_TOOLS+= pkg-config perl gmake autoconf213 |
12 | USE_LANGUAGES+= c99 c++ | | 12 | USE_LANGUAGES+= c99 c++ |
13 | UNLIMIT_RESOURCES+= datasize | | 13 | UNLIMIT_RESOURCES+= datasize |
14 | | | 14 | |
| @@ -20,26 +20,27 @@ CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}se | | | @@ -20,26 +20,27 @@ CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}se |
20 | PRIVILEGED_STAGES+= clean | | 20 | PRIVILEGED_STAGES+= clean |
21 | | | 21 | |
22 | CONFIGURE_ARGS+= --disable-tests --disable-pedantic | | 22 | CONFIGURE_ARGS+= --disable-tests --disable-pedantic |
23 | CONFIGURE_ARGS+= --enable-crypto | | 23 | CONFIGURE_ARGS+= --enable-crypto |
24 | CONFIGURE_ARGS+= --enable-optimize=-O2 --with-pthreads | | 24 | CONFIGURE_ARGS+= --enable-optimize=-O2 --with-pthreads |
25 | CONFIGURE_ARGS+= --disable-javaxpcom | | 25 | CONFIGURE_ARGS+= --disable-javaxpcom |
26 | CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk2 | | 26 | CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk2 |
27 | CONFIGURE_ARGS+= --enable-svg --enable-mathml | | 27 | CONFIGURE_ARGS+= --enable-svg --enable-mathml |
28 | CONFIGURE_ARGS+= --enable-system-cairo | | 28 | CONFIGURE_ARGS+= --enable-system-cairo |
29 | CONFIGURE_ARGS+= --with-system-jpeg | | 29 | CONFIGURE_ARGS+= --with-system-jpeg |
30 | CONFIGURE_ARGS+= --with-system-zlib --with-system-bz2 | | 30 | CONFIGURE_ARGS+= --with-system-zlib --with-system-bz2 |
31 | CONFIGURE_ARGS+= --enable-system-sqlite | | 31 | CONFIGURE_ARGS+= --enable-system-sqlite |
32 | CONFIGURE_ARGS+= --disable-crashreporter | | 32 | CONFIGURE_ARGS+= --disable-crashreporter |
| | | 33 | CONFIGURE_ARGS+= --disable-installer |
33 | CONFIGURE_ARGS+= --disable-libnotify | | 34 | CONFIGURE_ARGS+= --disable-libnotify |
34 | CONFIGURE_ARGS+= --disable-necko-wifi | | 35 | CONFIGURE_ARGS+= --disable-necko-wifi |
35 | | | 36 | |
36 | SUBST_CLASSES+= fix-paths | | 37 | SUBST_CLASSES+= fix-paths |
37 | SUBST_STAGE.fix-paths= pre-configure | | 38 | SUBST_STAGE.fix-paths= pre-configure |
38 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. | | 39 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. |
39 | SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h | | 40 | SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h |
40 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/app/nsRegisterGREUnix.cpp | | 41 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/app/nsRegisterGREUnix.cpp |
41 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/installer/Makefile.in | | 42 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/installer/Makefile.in |
42 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}extensions/java/xpcom/interfaces/org/mozilla/xpcom/Mozilla.java | | 43 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}extensions/java/xpcom/interfaces/org/mozilla/xpcom/Mozilla.java |
43 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp | | 44 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp |
44 | SUBST_SED.fix-paths= -e 's,/etc/gre.d,${PREFIX}/lib/xulrunner/gre.d,g' | | 45 | SUBST_SED.fix-paths= -e 's,/etc/gre.d,${PREFIX}/lib/xulrunner/gre.d,g' |
45 | SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' | | 46 | SUBST_SED.fix-paths+= -e 's,/usr/lib/mozilla/plugins,${PREFIX}/lib/netscape/plugins,g' |