diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-09-14 23:34:28 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-09-14 23:34:28 +0000 |
commit | 9558ed6cdd7f1733ab2b652c725ceb8ea70fa3bc (patch) | |
tree | a556cca3eaee30788867d57f21fe66248cbc4aea /dns/totd/Makefile | |
parent | b43f7693c5ade335ab7ce6ffd171837b450536df (diff) |
Notes
Diffstat (limited to 'dns/totd/Makefile')
-rw-r--r-- | dns/totd/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dns/totd/Makefile b/dns/totd/Makefile index 19231ac1a006..754a8b3fcdc3 100644 --- a/dns/totd/Makefile +++ b/dns/totd/Makefile @@ -22,12 +22,13 @@ RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} .include <bsd.port.pre.mk> -.if ${ARCH} != "i386" -BROKEN= "Does not compile on !i386" -.endif - +.if ${OSVERSION} >= 500000 +EXTRA_PATCHES= ${FILESDIR}/extra-patch-ne_mesg.c \ + ${FILESDIR}/extra-patch-tcp_response.c +.else post-patch: @${REINPLACE_CMD} -e 's/%zd/%d/g' ${WRKSRC}/*.c +.endif post-install: ${INSTALL_DATA} ${FILESDIR}/totd.conf.sample ${PREFIX}/etc |