summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/nip/Makefile8
-rw-r--r--graphics/nip2/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/graphics/nip/Makefile b/graphics/nip/Makefile
index f9fe10e8c8b4..d64f596406da 100644
--- a/graphics/nip/Makefile
+++ b/graphics/nip/Makefile
@@ -26,10 +26,16 @@ USE_REINPLACE= yes
MAN1= nip.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha" || ${ARCH} == "amd64"
+BROKEN= "Does not compile on alpha or amd64"
+.endif
+
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} 's/^EXTRA_DIST = scraps bootstrap doc/EXTRA_DIST = scraps bootstrap/' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} '535,538s/^/#/' ${WRKSRC}/Makefile.in
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/graphics/nip2/Makefile b/graphics/nip2/Makefile
index f9fe10e8c8b4..d64f596406da 100644
--- a/graphics/nip2/Makefile
+++ b/graphics/nip2/Makefile
@@ -26,10 +26,16 @@ USE_REINPLACE= yes
MAN1= nip.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha" || ${ARCH} == "amd64"
+BROKEN= "Does not compile on alpha or amd64"
+.endif
+
post-patch:
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} 's/^EXTRA_DIST = scraps bootstrap doc/EXTRA_DIST = scraps bootstrap/' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} '535,538s/^/#/' ${WRKSRC}/Makefile.in
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>