summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/openvrml/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/openvrml/Makefile b/www/openvrml/Makefile
index 69f523312895..35458fe27454 100644
--- a/www/openvrml/Makefile
+++ b/www/openvrml/Makefile
@@ -28,7 +28,13 @@ CONFIGURE_ARGS= --without-spidermonkey --without-jdk --without-doxygen
USE_GMAKE= yes
INSTALLS_SHLIB= yes
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>