aboutsummaryrefslogtreecommitdiffstats
path: root/dns/totd
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-08-31 11:13:57 +0800
committerkris <kris@FreeBSD.org>2005-08-31 11:13:57 +0800
commit47c44314dacb7ef070cac53294e1ee1d26bf55df (patch)
tree746d19703461d2f6038f0152a0a264c47431ca34 /dns/totd
parent7df16db1f95ee6fa7d7d491ddddd8c5ab73f5c2d (diff)
downloadfreebsd-ports-gnome-47c44314dacb7ef070cac53294e1ee1d26bf55df.tar.gz
freebsd-ports-gnome-47c44314dacb7ef070cac53294e1ee1d26bf55df.tar.zst
freebsd-ports-gnome-47c44314dacb7ef070cac53294e1ee1d26bf55df.zip
BROKEN on !i386: Does not compile
Diffstat (limited to 'dns/totd')
-rw-r--r--dns/totd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/dns/totd/Makefile b/dns/totd/Makefile
index 95fce5477284..19231ac1a006 100644
--- a/dns/totd/Makefile
+++ b/dns/totd/Makefile
@@ -20,6 +20,12 @@ USE_REINPLACE= YES
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's/%zd/%d/g' ${WRKSRC}/*.c
@@ -29,4 +35,4 @@ post-install:
${FILESDIR}/totd.sh > ${PREFIX}/etc/rc.d/totd.sh
@${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/totd.sh
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>