aboutsummaryrefslogtreecommitdiff
path: root/devel/codeworker
diff options
context:
space:
mode:
Diffstat (limited to 'devel/codeworker')
-rw-r--r--devel/codeworker/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/codeworker/Makefile b/devel/codeworker/Makefile
index 9d5cdf0eb1c2..e4cbc640746d 100644
--- a/devel/codeworker/Makefile
+++ b/devel/codeworker/Makefile
@@ -24,6 +24,12 @@ LDFLAGS+= -lcompat
USE_GMAKE= yes
MAKE_ENV= LDFLAGS="${LDFLAGS}"
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|^CXXFLAGS|#CXXFLAGS|g" \
-e s"|LFLAGS|LDFLAGS|" -e "s|^LDFLAGS|#LDFLAGS|" \
@@ -33,4 +39,4 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/codeworker ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>