aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.gecko.mk
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2009-04-04 11:47:00 +0000
committerMarius Strobl <marius@FreeBSD.org>2009-04-04 11:47:00 +0000
commit532c41471e2b914c47719f42f26ccf73f66e4e25 (patch)
tree651867f2000d7540a1f31cfab12314de9596b97b /Mk/bsd.gecko.mk
parent148a2102e2a850a4998bd30c3a9f9278c2c4d372 (diff)
downloadports-532c41471e2b914c47719f42f26ccf73f66e4e25.tar.gz
ports-532c41471e2b914c47719f42f26ccf73f66e4e25.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
Notes
Notes: svn path=/head/; revision=231578
Diffstat (limited to 'Mk/bsd.gecko.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