[SVN-Commit] r365 - branches/experimental/www/libxul
svn-freebsd-gecko at chruetertee.ch
svn-freebsd-gecko at chruetertee.ch
Sun Jul 25 17:19:37 UTC 2010
Author: beat
Date: Sun Jul 25 17:19:30 2010
New Revision: 365
Log:
- Sync with www/firefox: Make D-BUS support optional
Modified:
branches/experimental/www/libxul/Makefile
Modified: branches/experimental/www/libxul/Makefile
==============================================================================
--- branches/experimental/www/libxul/Makefile Sat Jul 24 15:12:09 2010 (r364)
+++ branches/experimental/www/libxul/Makefile Sun Jul 25 17:19:30 2010 (r365)
@@ -15,9 +15,6 @@
MAINTAINER?= gecko at FreeBSD.org
COMMENT?= Mozilla runtime package that can be used to bootstrap XUL+XPCOM apps
-LIB_DEPENDS?= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
- notify.1:${PORTSDIR}/devel/libnotify
-
WRKSRC= ${WRKDIR}/mozilla-1.9.2
CONFLICTS= mozilla-[0-9]*
GECKO_PLIST_PRE_DIRS= lib/${MOZILLA}/bin lib/${MOZILLA}/idl \
@@ -50,6 +47,8 @@
MOZ_PKGCONFIG_FILES= libxul-embedding libxul mozilla-gtkmozembed-embedding \
mozilla-gtkmozembed mozilla-js mozilla-nss mozilla-plugin
+OPTIONS= DBUS "Enable D-BUS support" on
+
.include <bsd.port.pre.mk>
GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 '%{\!pg: %{pthread:' | ${SED
@@ -62,6 +61,13 @@
EXTRA_PATCHES= ${FILESDIR}/libsydney_oss
.endif
+.if defined(WITHOUT_DBUS)
+MOZ_OPTIONS+= --disable-dbus --disable-libnotify
+.else
+LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
+ notify.1:${PORTSDIR}/devel/libnotify
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
${WRKSRC}/storage/build/Makefile.in \
More information about the freebsd-gecko
mailing list