aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/wargus/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/wargus/Makefile b/games/wargus/Makefile
index 64bb0b4bfea..3c485f967c9 100644
--- a/games/wargus/Makefile
+++ b/games/wargus/Makefile
@@ -25,6 +25,12 @@ USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= "Does not compile on sparc64"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|^\(CC\)|#\1|; \
s|^\(CFLAGS =\)|\1 ${CFLAGS}|; \
@@ -72,4 +78,4 @@ post-build:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>