aboutsummaryrefslogtreecommitdiff
path: root/misc/toilet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/toilet/Makefile')
-rw-r--r--misc/toilet/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/toilet/Makefile b/misc/toilet/Makefile
index 09b1383723f0..0ca962fe5e42 100644
--- a/misc/toilet/Makefile
+++ b/misc/toilet/Makefile
@@ -22,6 +22,12 @@ CFLAGS+= -fno-strength-reduce
MAN1= ${PORTNAME}.1
PORT_VERBS= ${PORTNAME} caca2tlf share/figlet/*tlf
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+BROKEN= does not compile
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/CFLAGS=/d;/ac_build_date=/s|=.*|="$$stamp"|'\
${WRKSRC}/configure
@@ -30,4 +36,4 @@ post-patch:
post-install:
@${INSTALL_PROGRAM} ${WRKSRC}/tools/caca2tlf ${PREFIX}/bin/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>