- Unbreak WITHOUT_MAILNEWS option

Submitted by:	Nali Toja <nalitoja AT gmail.com>
This commit is contained in:
Beat Gaetzi 2011-10-26 21:11:40 +00:00
parent 3a09d280ae
commit 547b3c6fb9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284389
2 changed files with 19 additions and 1 deletions

View File

@ -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)

View File

@ -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 \