summaryrefslogtreecommitdiff
path: root/net/enet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/enet/Makefile')
-rw-r--r--net/enet/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/enet/Makefile b/net/enet/Makefile
index 386846dd214d..81a0106783f0 100644
--- a/net/enet/Makefile
+++ b/net/enet/Makefile
@@ -15,11 +15,19 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Simple and robust communication library based on UDP
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= automake
+USE_AUTOTOOLS= automake autoconf:env
USE_LDCONFIG= yes
DOCS= design.txt docs/FAQ.dox docs/design.dox docs/tutorial.dox
+
+AUTOTOOLSFILES= aclocal.m4
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|1.11.1|%%AUTOMAKE_APIVER%%|g' \
+ -e 's|2.67|%%AUTOCONF_VERSION%%|g' \
+ ${WRKSRC}/aclocal.m4
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}