aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox-esr
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-12-02 13:44:22 +0800
committerahze <ahze@FreeBSD.org>2005-12-02 13:44:22 +0800
commit491a08e228d26d8f7004c55c512e3bcc9b5890d2 (patch)
tree52826aed0b6c6fb32b9c946d99b47fead7bc1277 /www/firefox-esr
parent7389d862cb1a5a25d71493dc864ab679c757dfdc (diff)
downloadfreebsd-ports-gnome-491a08e228d26d8f7004c55c512e3bcc9b5890d2.tar.gz
freebsd-ports-gnome-491a08e228d26d8f7004c55c512e3bcc9b5890d2.tar.zst
freebsd-ports-gnome-491a08e228d26d8f7004c55c512e3bcc9b5890d2.zip
- Disable svg support on 5.3 and lower to fix build with a gcc bug.
Reported by: many Tested by: mark@mkproductions.org
Diffstat (limited to 'www/firefox-esr')
-rw-r--r--www/firefox-esr/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index 0ed05ba057ec..f2eb5ed038e2 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -31,8 +31,6 @@ USE_GCC= 3.4+
FIREFOX_ICON= ${MOZILLA}.xpm
FIREFOX_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/icons/default.xpm
MOZ_OPTIONS= --enable-application=browser \
- --enable-svg \
- --enable-svg-renderer=cairo \
--enable-system-cairo \
--enable-official-branding \
--enable-canvas
@@ -50,6 +48,10 @@ OPTIONS= NEWTAB "Open external links in a new tab" on \
IGNORE= core dumps on alpha during post-build
.endif
+.if ${OSVERSION} >= 504101
+MOZ_OPTIONS+= --enable-svg --enable-svg-renderer=cairo
+.endif
+
.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl
.endif