aboutsummaryrefslogtreecommitdiff
path: root/www/seamonkey
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-12-16 13:18:09 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-12-16 13:18:09 +0000
commit9a7ba1b68848ee3e275cd697f2c1f7cefff96371 (patch)
treec02ffeac4e9c9d7e341bdf68e8404c49b332314a /www/seamonkey
parent6cf4fdab8358ab353528d4bda9450334c7825213 (diff)
downloadports-9a7ba1b68848ee3e275cd697f2c1f7cefff96371.tar.gz
ports-9a7ba1b68848ee3e275cd697f2c1f7cefff96371.zip
Oops, restore Lightning build after r428672
addons.mozilla.org version still cannot be used due to binary components that aren't provided for any Tier3 platform.
Notes
Notes: svn path=/head/; revision=428676
Diffstat (limited to 'www/seamonkey')
-rw-r--r--www/seamonkey/Makefile11
-rw-r--r--www/seamonkey/files/patch-bug123134916
2 files changed, 24 insertions, 3 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 773f5fb824e9..781a594f1d7c 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -4,7 +4,7 @@
PORTNAME= seamonkey
DISTVERSION= 2.46
MOZILLA_VER= 49 # above + 3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES?= www mail news editors irc ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build9/source
@@ -46,10 +46,10 @@ MOZ_PKGCONFIG_FILES=
BROKEN_aarch64= Fails to link: error adding symbols: File in wrong format
-OPTIONS_DEFINE= LDAP RUST
+OPTIONS_DEFINE= LDAP LIGHTNING RUST
OPTIONS_SINGLE= TOOLKIT
OPTIONS_SINGLE_TOOLKIT= GTK2 GTK3
-OPTIONS_DEFAULT=CANBERRA GTK2 LDAP
+OPTIONS_DEFAULT=CANBERRA GTK2 LDAP LIGHTNING
LDAP_DESC?= LDAP support for Mailnews
@@ -66,6 +66,11 @@ MOZ_OPTIONS+= --disable-ldap
.else
MOZ_OPTIONS+= --enable-ldap
.endif
+.if ${PORT_OPTIONS:MLIGHTNING}
+MOZ_OPTIONS+= --enable-calendar
+.else
+MOZ_OPTIONS+= --disable-calendar
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
diff --git a/www/seamonkey/files/patch-bug1231349 b/www/seamonkey/files/patch-bug1231349
new file mode 100644
index 000000000000..da25be5b1992
--- /dev/null
+++ b/www/seamonkey/files/patch-bug1231349
@@ -0,0 +1,16 @@
+diff --git a/suite/installer/package-manifest.in b/suite/installer/package-manifest.in
+--- suite/installer/package-manifest.in
++++ suite/installer/package-manifest.in
+@@ -911,3 +956,12 @@
+ @RESPATH@/extensions/debugQA@mozilla.org/chrome/debugqa@JAREXT@
+ #endif
+ #endif
++
++#ifdef MOZ_CALENDAR
++[calendar]
++#ifdef NIGHTLY_BUILD
++@RESPATH@/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/
++#else
++@RESPATH@/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/
++#endif
++#endif