aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-08-31 03:13:57 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-08-31 03:13:57 +0000
commit4f8b628e2618a5146325c94800dff97ad5988119 (patch)
tree8ba3d955d762f55c60746df380cb7c4c8c551e88 /dns
parentba670f107f8d8f1f948d27f894b270fe66197a01 (diff)
downloadports-4f8b628e2618a5146325c94800dff97ad5988119.tar.gz
ports-4f8b628e2618a5146325c94800dff97ad5988119.zip
Notes
Diffstat (limited to 'dns')
-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>