aboutsummaryrefslogtreecommitdiffstats
path: root/www/libxul
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2009-05-29 12:41:42 +0800
committerlinimon <linimon@FreeBSD.org>2009-05-29 12:41:42 +0800
commit3f07a871475548afd93a97746a371eb1cf063a10 (patch)
treece68e02608d60410ba207b5b952c4e6fa1663ae6 /www/libxul
parente13274e48b1f56bf29103643a5260c01389cc9c4 (diff)
downloadfreebsd-ports-gnome-3f07a871475548afd93a97746a371eb1cf063a10.tar.gz
freebsd-ports-gnome-3f07a871475548afd93a97746a371eb1cf063a10.tar.zst
freebsd-ports-gnome-3f07a871475548afd93a97746a371eb1cf063a10.zip
Mark as broken on sparc64: fails to compile.
Diffstat (limited to 'www/libxul')
-rw-r--r--www/libxul/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/libxul/Makefile b/www/libxul/Makefile
index 4917f7c1ee79..c010e98383c2 100644
--- a/www/libxul/Makefile
+++ b/www/libxul/Makefile
@@ -47,6 +47,12 @@ MOZ_PKGCONFIG_FILES= libxul-embedding-unstable libxul-embedding \
libxul-unstable libxul mozilla-gtkmozembed-embedding \
mozilla-gtkmozembed mozilla-js mozilla-nss mozilla-plugin
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= Does not compile on sparc64
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
${WRKSRC}/storage/build/Makefile.in \
@@ -58,4 +64,4 @@ post-build:
s|%%MOZ_LIBDIR%%|${PREFIX}/lib/${MOZILLA}|g" \
${WRKSRC}/xulrunner/installer/*.pc.in || ${TRUE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>