diff options
Diffstat (limited to 'dns/totd/Makefile')
-rw-r--r-- | dns/totd/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/dns/totd/Makefile b/dns/totd/Makefile index 754a8b3fcdc..a0f5b8e83b9 100644 --- a/dns/totd/Makefile +++ b/dns/totd/Makefile @@ -6,17 +6,17 @@ PORTNAME= totd PORTVERSION= 1.5.1 +PORTREVISION= 1 CATEGORIES= dns ipv6 MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/ MAINTAINER= ports@FreeBSD.org COMMENT= DNS proxy that supports IPv6 <==> IPv4 record translation -MAN8= totd.8 +USE_RC_SUBR= yes +GNU_CONFIGURE= yes -USE_RC_SUBR= YES -GNU_CONFIGURE= YES -USE_REINPLACE= YES +MAN8= totd.8 RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} @@ -25,8 +25,11 @@ RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} .if ${OSVERSION} >= 500000 EXTRA_PATCHES= ${FILESDIR}/extra-patch-ne_mesg.c \ ${FILESDIR}/extra-patch-tcp_response.c -.else +.endif + post-patch: + @${REINPLACE_CMD} -e '/^CC/d' ${WRKSRC}/${MAKEFILE}.in +.if ${OSVERSION} < 500000 @${REINPLACE_CMD} -e 's/%zd/%d/g' ${WRKSRC}/*.c .endif |