aboutsummaryrefslogtreecommitdiff
path: root/www/libxul
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2009-05-29 04:41:42 +0000
committerMark Linimon <linimon@FreeBSD.org>2009-05-29 04:41:42 +0000
commit24593747335954fd9eca577b474b65322306edc4 (patch)
tree7cba876a08e4d03c5b3a0e457eeade85257b91d7 /www/libxul
parentbc2eca15433c2c952fd281bfa33c0ee9f8da4bd9 (diff)
downloadports-24593747335954fd9eca577b474b65322306edc4.tar.gz
ports-24593747335954fd9eca577b474b65322306edc4.zip
Notes
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>