summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shells/ksh93/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile
index adc7df38fc52..875abf225a25 100644
--- a/shells/ksh93/Makefile
+++ b/shells/ksh93/Makefile
@@ -27,6 +27,12 @@ MAKE_ENV+= LDFLAGS=-static
MAN1= ksh93.1
INSTALLROOT= ${WRKSRC}/arch/freebsd.${ARCH}
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= "Does not compile on sparc64"
+.endif
+
do-build:
@cd ${WRKSRC} && env -i ${MAKE_ENV} ${SH} bin/package make
@@ -52,4 +58,4 @@ test: build
${SETENV} SHELL=${INSTALLROOT}/bin/ksh \
${INSTALLROOT}/bin/ksh shtests
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>