diff options
Diffstat (limited to 'games/zangband/Makefile')
-rw-r--r-- | games/zangband/Makefile | 8 |
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: |