Tue Jul 12 11:12:36 2011 UTC ()
Fix libevent detection when using libevent from pkgsrc.


(tnn)
diff -r1.23 -r1.24 pkgsrc/devel/xulrunner/mozilla-common.mk

cvs diff -r1.23 -r1.24 pkgsrc/devel/xulrunner/Attic/mozilla-common.mk (expand / switch to unified diff)

--- pkgsrc/devel/xulrunner/Attic/mozilla-common.mk 2011/07/11 21:20:34 1.23
+++ pkgsrc/devel/xulrunner/Attic/mozilla-common.mk 2011/07/12 11:12:36 1.24
@@ -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
10GNU_CONFIGURE= yes 10GNU_CONFIGURE= yes
11USE_TOOLS+= pkg-config perl gmake autoconf213 11USE_TOOLS+= pkg-config perl gmake autoconf213
12USE_LANGUAGES+= c99 c++ 12USE_LANGUAGES+= c99 c++
13UNLIMIT_RESOURCES+= datasize 13UNLIMIT_RESOURCES+= datasize
14 14
@@ -20,27 +20,27 @@ CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}se @@ -20,27 +20,27 @@ CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}se
20PRIVILEGED_STAGES+= clean 20PRIVILEGED_STAGES+= clean
21 21
22CONFIGURE_ARGS+= --disable-tests --disable-pedantic 22CONFIGURE_ARGS+= --disable-tests --disable-pedantic
23CONFIGURE_ARGS+= --enable-crypto 23CONFIGURE_ARGS+= --enable-crypto
24CONFIGURE_ARGS+= --enable-optimize=-O2 --with-pthreads 24CONFIGURE_ARGS+= --enable-optimize=-O2 --with-pthreads
25CONFIGURE_ARGS+= --disable-javaxpcom 25CONFIGURE_ARGS+= --disable-javaxpcom
26CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk2 26CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk2
27CONFIGURE_ARGS+= --enable-svg --enable-mathml 27CONFIGURE_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?)
29CONFIGURE_ARGS+= --disable-system-cairo 29CONFIGURE_ARGS+= --disable-system-cairo
30CONFIGURE_ARGS+= --disable-system-pixman 30CONFIGURE_ARGS+= --disable-system-pixman
31CONFIGURE_ARGS+= --with-system-jpeg 31CONFIGURE_ARGS+= --with-system-jpeg
32CONFIGURE_ARGS+= --with-system-zlib --with-system-bz2 32CONFIGURE_ARGS+= --with-system-zlib --with-system-bz2
33CONFIGURE_ARGS+= --with-system-libevent 33CONFIGURE_ARGS+= --with-system-libevent=${BUILDLINK_PREFIX.libevent}
34CONFIGURE_ARGS+= --enable-system-sqlite 34CONFIGURE_ARGS+= --enable-system-sqlite
35CONFIGURE_ARGS+= --disable-crashreporter 35CONFIGURE_ARGS+= --disable-crashreporter
36CONFIGURE_ARGS+= --disable-libnotify 36CONFIGURE_ARGS+= --disable-libnotify
37CONFIGURE_ARGS+= --disable-necko-wifi 37CONFIGURE_ARGS+= --disable-necko-wifi
38 38
39SUBST_CLASSES+= fix-paths 39SUBST_CLASSES+= fix-paths
40SUBST_STAGE.fix-paths= pre-configure 40SUBST_STAGE.fix-paths= pre-configure
41SUBST_MESSAGE.fix-paths= Fixing absolute paths. 41SUBST_MESSAGE.fix-paths= Fixing absolute paths.
42SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h 42SUBST_FILES.fix-paths= ${MOZILLA_DIR}xpcom/build/nsXPCOMPrivate.h
43SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/app/nsRegisterGREUnix.cpp 43SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/app/nsRegisterGREUnix.cpp
44SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/installer/Makefile.in 44SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xulrunner/installer/Makefile.in
45SUBST_FILES.fix-paths+= ${MOZILLA_DIR}extensions/java/xpcom/interfaces/org/mozilla/xpcom/Mozilla.java 45SUBST_FILES.fix-paths+= ${MOZILLA_DIR}extensions/java/xpcom/interfaces/org/mozilla/xpcom/Mozilla.java
46SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp 46SUBST_FILES.fix-paths+= ${MOZILLA_DIR}xpcom/io/nsAppFileLocationProvider.cpp