summaryrefslogtreecommitdiff
path: root/games/zangband/Makefile
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-02 01:53:22 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-02 01:53:22 +0000
commit174d66fb55e73533c15097d140fbec20df1068fa (patch)
tree442aa13af6c33fa4ab6484aa27a2b5e8278c97da /games/zangband/Makefile
parentAdd missing entry to plist (diff)
Fix port build with auto{make,conf}
Spotted by: Bento
Notes
Notes: svn path=/head/; revision=52475
Diffstat (limited to 'games/zangband/Makefile')
-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: