| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: mozilla-common.mk,v 1.23 2011/07/11 21:20:34 tnn Exp $ | | 1 | # $NetBSD: mozilla-common.mk,v 1.24 2011/07/12 11:12:36 tnn 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 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,27 +20,27 @@ CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}se | | | @@ -20,27 +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 | # Needs tee and subpixel functions which are not shipped in stable cairo (yet?) | | 28 | # Needs tee and subpixel functions which are not shipped in stable cairo (yet?) |
29 | CONFIGURE_ARGS+= --disable-system-cairo | | 29 | CONFIGURE_ARGS+= --disable-system-cairo |
30 | CONFIGURE_ARGS+= --disable-system-pixman | | 30 | CONFIGURE_ARGS+= --disable-system-pixman |
31 | CONFIGURE_ARGS+= --with-system-jpeg | | 31 | CONFIGURE_ARGS+= --with-system-jpeg |
32 | CONFIGURE_ARGS+= --with-system-zlib --with-system-bz2 | | 32 | CONFIGURE_ARGS+= --with-system-zlib --with-system-bz2 |
33 | CONFIGURE_ARGS+= --with-system-libevent | | 33 | CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent} |
34 | CONFIGURE_ARGS+= --enable-system-sqlite | | 34 | CONFIGURE_ARGS+= --enable-system-sqlite |
35 | CONFIGURE_ARGS+= --disable-crashreporter | | 35 | CONFIGURE_ARGS+= --disable-crashreporter |
36 | CONFIGURE_ARGS+= --disable-libnotify | | 36 | CONFIGURE_ARGS+= --disable-libnotify |
37 | CONFIGURE_ARGS+= --disable-necko-wifi | | 37 | CONFIGURE_ARGS+= --disable-necko-wifi |
38 | | | 38 | |
39 | SUBST_CLASSES+= fix-paths | | 39 | SUBST_CLASSES+= fix-paths |
40 | SUBST_STAGE.fix-paths= pre-configure | | 40 | SUBST_STAGE.fix-paths= pre-configure |
41 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. | | 41 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. |
42 | SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h | | 42 | SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h |
43 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/app/nsRegisterGREUnix.cpp | | 43 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/app/nsRegisterGREUnix.cpp |
44 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/installer/Makefile.in | | 44 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/installer/Makefile.in |
45 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}extensions/java/xpcom/interfaces/org/mozilla/xpcom/Mozilla.java | | 45 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}extensions/java/xpcom/interfaces/org/mozilla/xpcom/Mozilla.java |
46 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp | | 46 | SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp |