aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-09-17 06:12:59 +0800
committergahr <gahr@FreeBSD.org>2008-09-17 06:12:59 +0800
commit718d32ebc17e690503b66c67a757d792d0ccae88 (patch)
treef180cfeb2d7356c0700ba1fc3189ea092f3f84f0 /www
parent60ab075fb6f1a38fca160f4565dcab7f4385eda9 (diff)
downloadfreebsd-ports-gnome-718d32ebc17e690503b66c67a757d792d0ccae88.tar.gz
freebsd-ports-gnome-718d32ebc17e690503b66c67a757d792d0ccae88.tar.zst
freebsd-ports-gnome-718d32ebc17e690503b66c67a757d792d0ccae88.zip
- Fix build on sparc64
Approved by: gnome (mezz) Approved by: portmgr (pav)
Diffstat (limited to 'www')
-rw-r--r--www/firefox3/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/firefox3/Makefile b/www/firefox3/Makefile
index 1b298f83ed35..b36e398156f3 100644
--- a/www/firefox3/Makefile
+++ b/www/firefox3/Makefile
@@ -89,6 +89,13 @@ post-patch:
/dom.disable_window_open_feature.toolbar/s/false/true/' \
${WRKSRC}/${ii}/all.js
.endfor
+.if ${ARCH} == "sparc64"
+ @(cd ${WRKSRC}/xpcom/reflect/xptcall/src/md/unix && \
+ ${LN} -s xptcstubs_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_freebsd.s && \
+ ${LN} -s xptcstubs_sparc64_openbsd.cpp xptcstubs_sparc64_freebsd.cpp && \
+ ${LN} -s xptcinvoke_sparc64_openbsd.cpp xptcinvoke_sparc64_freebsd.cpp) && \
+ ${LN} -s xptcinvoke_asm_sparc64_openbsd.s xptcinvoke_asm_sparc64_freebsd.s)
+.endif
port-pre-install:
# ${SED} -e 's|1.9a7|0|' ${WRKSRC}/dist/bin/application.ini ${FAKEDIR}/lib