summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/code-browser/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/code-browser/Makefile b/editors/code-browser/Makefile
index 44ab511..de3bd01 100644
--- a/editors/code-browser/Makefile
+++ b/editors/code-browser/Makefile
@@ -22,9 +22,15 @@ USE_REINPLACE= yes
USE_GNOME= gtk20
USE_GCC= 3.4+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not build on !i386; signal 11 errors during build"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," \
-e "s,^CC,#CC," -e "s,^CFLAGS,#CFLAGS," \
${WRKSRC}/${MAKEFILE} ${WRKSRC}/zinc/${MAKEFILE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud