summaryrefslogtreecommitdiff
path: root/devel/syntax_tools
diff options
context:
space:
mode:
Diffstat (limited to 'devel/syntax_tools')
-rw-r--r--devel/syntax_tools/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/syntax_tools/Makefile b/devel/syntax_tools/Makefile
index 6eea63d0d24b..ba11269eb165 100644
--- a/devel/syntax_tools/Makefile
+++ b/devel/syntax_tools/Makefile
@@ -25,6 +25,12 @@ PLIST_SUB= VERSION="${PORTVERSION}"
SYNTAX_TOOLS= ${PREFIX}/lib/erlang/lib/syntax_tools-${PORTVERSION}
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-extract:
@${RM} ${WRKSRC}/demo.erl ${WRKSRC}/test.erl
@@ -41,4 +47,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/doc/* ${SYNTAX_TOOLS}/doc
@${LN} -sf ${DISTNAME} ${PREFIX}/lib/erlang/lib/syntax_tools
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>