aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-02 09:53:22 +0800
committerpat <pat@FreeBSD.org>2002-01-02 09:53:22 +0800
commitc4243cde24ebbb38b61e17b409b922a8d01c91ed (patch)
tree1676e0f59e3703e52aa1b9fbf2d7df34b5feb0d0 /games
parent2d1991fbc14ef598de1b09d363fd91d3ef99a9b2 (diff)
downloadfreebsd-ports-gnome-c4243cde24ebbb38b61e17b409b922a8d01c91ed.tar.gz
freebsd-ports-gnome-c4243cde24ebbb38b61e17b409b922a8d01c91ed.tar.zst
freebsd-ports-gnome-c4243cde24ebbb38b61e17b409b922a8d01c91ed.zip
Fix port build with auto{make,conf}
Spotted by: Bento
Diffstat (limited to 'games')
-rw-r--r--games/zangband/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/zangband/Makefile b/games/zangband/Makefile
index 3cfbbbf6c889..bed472e67e7a 100644
--- a/games/zangband/Makefile
+++ b/games/zangband/Makefile
@@ -35,7 +35,13 @@ BINMODE= 2755
ANGBANDLIB?= lib/${PORTNAME}
ANGBANDBIN?= bin/${PORTNAME}
-post-patch:
+pre-patch:
+ @${PERL} -pi.orig -e 's|aclocal|${ACLOCAL}|; \
+ s|autoheader|${AUTOHEADER}|; \
+ s|automake|${AUTOMAKE}|; s|autoconf|${AUTOCONF}|' \
+ ${WRKSRC}/bootstrap
+
+pre-configure:
(cd ${WRKSRC} ; ${SH} bootstrap)
post-install: