From 9558ed6cdd7f1733ab2b652c725ceb8ea70fa3bc Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Wed, 14 Sep 2005 23:34:28 +0000 Subject: - Unbreak on !i386 PR: ports/86091 Submitted by: Johan van Selst --- dns/totd/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'dns/totd/Makefile') 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 -.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 -- cgit v1.2.3