aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2011-10-27 05:11:40 +0800
committerbeat <beat@FreeBSD.org>2011-10-27 05:11:40 +0800
commit5b905e14dfc1359e44f46aaf7f5bdc25a6668516 (patch)
tree14747b59d78709a07d2afd9f7e11c46cbfbb8d08
parent8563a2e67be784075cc78a0453045845267d12c3 (diff)
downloadfreebsd-ports-gnome-5b905e14dfc1359e44f46aaf7f5bdc25a6668516.tar.gz
freebsd-ports-gnome-5b905e14dfc1359e44f46aaf7f5bdc25a6668516.tar.zst
freebsd-ports-gnome-5b905e14dfc1359e44f46aaf7f5bdc25a6668516.zip
- Unbreak WITHOUT_MAILNEWS option
Submitted by: Nali Toja <nalitoja AT gmail.com>
-rw-r--r--www/seamonkey/Makefile2
-rw-r--r--www/seamonkey/files/extra-mailnews-patch-bridge-bridge.mk18
2 files changed, 19 insertions, 1 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index ff39b81d3a47..dcc7dc7bf8a8 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -83,8 +83,8 @@ LIB_DEPENDS+= glitz.1:${PORTSDIR}/graphics/glitz
.endif
.if defined(WITHOUT_MAILNEWS)
+EXTRA_PATCHES+= ${FILESDIR}/extra-mailnews-patch-bridge-bridge.mk
MOZ_OPTIONS+= --disable-ldap --disable-mailnews
-BROKEN= Does not build
.else
# mail and news desired, but not LDAP
.if defined(WITHOUT_LDAP)
diff --git a/www/seamonkey/files/extra-mailnews-patch-bridge-bridge.mk b/www/seamonkey/files/extra-mailnews-patch-bridge-bridge.mk
new file mode 100644
index 000000000000..09e602a54249
--- /dev/null
+++ b/www/seamonkey/files/extra-mailnews-patch-bridge-bridge.mk
@@ -0,0 +1,18 @@
+--- bridge/bridge.mk.orig 2011-09-29 01:10:49.000000000 +0200
++++ bridge/bridge.mk 2011-10-26 22:21:47.000000000 +0200
+@@ -38,12 +38,12 @@
+
+ APP_LIBXUL_DIRS += $(DEPTH)$(SUBDIR)/mozilla/xpfe/components/autocomplete
+
+-#ifdef MOZ_LDAP_XPCOM
++ifdef MOZ_LDAP_XPCOM
+ APP_LIBXUL_STATICDIRS += $(DEPTH)$(SUBDIR)/ldap/sdks/c-sdk
+ APP_LIBXUL_DIRS += $(DEPTH)$(SUBDIR)/ldap/xpcom
+-#endif
++endif
+
+-ifdef MOZ_MAIL_NEWS
++ifdef disabled
+ APP_LIBXUL_DIRS += \
+ $(DEPTH)$(SUBDIR)/mailnews/base \
+ $(DEPTH)$(SUBDIR)/mailnews/mime/public \