aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2009-04-04 19:47:00 +0800
committermarius <marius@FreeBSD.org>2009-04-04 19:47:00 +0800
commit25c65b15fe9994c6bdcc249a0e1381aa61b9a4de (patch)
treed2f081e8c1a97118883a49b78d1d0eea17428f9e /Mk
parent04f64e840c77201f8c493bf59ea834d417347af8 (diff)
downloadfreebsd-ports-gnome-25c65b15fe9994c6bdcc249a0e1381aa61b9a4de.tar.gz
freebsd-ports-gnome-25c65b15fe9994c6bdcc249a0e1381aa61b9a4de.tar.zst
freebsd-ports-gnome-25c65b15fe9994c6bdcc249a0e1381aa61b9a4de.zip
Resurrect www/mozilla/Makefile.common rev. 1.30 and associated changes,
which got lost with the switch to bsd.gecko.mk: Work around the miscompilation/mislinkage problem of the sCanonicalVTable hacks in the XPCOM string code on sparc64 by omitting the code in question and bump PORTREVISIONs accordingly. Approved by: marcus
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gecko.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 7cc5de12e027..0084cdcf9d1d 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -461,6 +461,11 @@ MOZ_SED_ARGS+= -e's|@CPPFLAGS@|${CPPFLAGS}|g' \
-e 's|%%MOZDIR%%|${PREFIX}/lib/${MOZILLA}|g'
MOZCONFIG_SED?= ${SED} ${MOZ_SED_ARGS}
+.if ${ARCH}=="sparc64"
+# Work around miscompilation/mislinkage of the sCanonicalVTable hacks.
+MOZ_OPTIONS+= --disable-v1-string-abi
+.endif
+
.else # bsd.port.post.mk
post-patch: gecko-post-patch gecko-moz-pis-patch