summaryrefslogtreecommitdiff
path: root/www/wsmake
diff options
context:
space:
mode:
Diffstat (limited to 'www/wsmake')
-rw-r--r--www/wsmake/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/wsmake/Makefile b/www/wsmake/Makefile
index 1a9e5d3a4e72..3299be1cfc2e 100644
--- a/www/wsmake/Makefile
+++ b/www/wsmake/Makefile
@@ -25,6 +25,12 @@ USE_REINPLACE= yes
DISTFILES+= user-manual-html.tar.gz
.endif
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,void\*,char\*,g' ${WRKSRC}/libwsmake/wsUtil.cpp
@@ -44,4 +50,4 @@ post-install:
${LN} ${DOCSDIR}/user-manual/book1.html ${DOCSDIR}/user-manual/index.html
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>