aboutsummaryrefslogtreecommitdiff
path: root/dns/dnswall
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2010-12-22 20:05:49 +0000
committerAde Lovett <ade@FreeBSD.org>2010-12-22 20:05:49 +0000
commit843f8123d49e579e80de26ff1dd62c8c1acf3fac (patch)
treec7ef29d508548833364cb92d3bd5bcf810816e88 /dns/dnswall
parent55d09a7758330e40bc25cb90b27b1ae9b034af02 (diff)
downloadports-843f8123d49e579e80de26ff1dd62c8c1acf3fac.tar.gz
ports-843f8123d49e579e80de26ff1dd62c8c1acf3fac.zip
Sync to final (for now) bsd.autotools.mk
Notes
Notes: svn path=/head/; revision=266737
Diffstat (limited to 'dns/dnswall')
-rw-r--r--dns/dnswall/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/dns/dnswall/Makefile b/dns/dnswall/Makefile
index 6ac97cb27240..703028b86e13 100644
--- a/dns/dnswall/Makefile
+++ b/dns/dnswall/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A daemon that filters out private IP addresses in DNS responses
PROJECTHOST= google-dnswall
-USE_AUTOTOOLS= automake
+USE_AUTOTOOLS= automake autoconf:env
USE_DOS2UNIX= yes
MAKE_JOBS_SAFE= yes
@@ -26,9 +26,12 @@ AUTOFILES= depcomp install-sh missing
PORTDOCS= README
PLIST_FILES= bin/dnswall
+AUTOTOOLSFILES= aclocal.m4
+
post-patch:
- @${REINPLACE_CMD} -e 's|1.10|1.11.1|g' ${WRKSRC}/aclocal.m4
- @${REINPLACE_CMD} -e 's|2.61|2.68|g' ${WRKSRC}/aclocal.m4
+ @${REINPLACE_CMD} -e 's|1.10|%%AUTOMAKE_APIVER%%|g' \
+ -e 's|2.61|%%AUTOCONF_VERSION%%|g' \
+ ${WRKSRC}/aclocal.m4
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/^dist_doc_DATA/d' ${WRKSRC}/Makefile.am
.endif