summaryrefslogtreecommitdiff
path: root/devel/libtool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libtool/Makefile')
-rw-r--r--devel/libtool/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/libtool/Makefile b/devel/libtool/Makefile
index f0d65e761860..52d018b4a5f1 100644
--- a/devel/libtool/Makefile
+++ b/devel/libtool/Makefile
@@ -1,5 +1,5 @@
PORTNAME= libtool
-PORTREVISION= 0
+PORTREVISION= 1
COMMENT= Generic shared library support script
WWW= https://www.gnu.org/software/libtool/
@@ -27,4 +27,10 @@ CXX= c++
LD= ld
.endif
+# Perform the patching after the build, because touching m4 files before the
+# configuration step causes autoreconf to be invoked
+post-stage:
+ cd ${STAGEDIR}${PREFIX}/share/aclocal && \
+ ${PATCH} --posix -p1 < ${PATCHDIR}/stagepatch-m4_libtool.m4
+
.include <bsd.port.mk>