aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnswall
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2010-12-23 04:05:49 +0800
committerade <ade@FreeBSD.org>2010-12-23 04:05:49 +0800
commitb3eaac16d9d3e7dd232308127eb5799f815ef821 (patch)
treec68d1b2f0ef56bab6c4f255c67470c55cf424f79 /dns/dnswall
parent7ff69e2f85702b7c6b49ce09c3f75364c4e21f85 (diff)
downloadfreebsd-ports-gnome-b3eaac16d9d3e7dd232308127eb5799f815ef821.tar.gz
freebsd-ports-gnome-b3eaac16d9d3e7dd232308127eb5799f815ef821.tar.zst
freebsd-ports-gnome-b3eaac16d9d3e7dd232308127eb5799f815ef821.zip
Sync to final (for now) bsd.autotools.mk
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