Fix port build with auto{make,conf}

Spotted by:	Bento
This commit is contained in:
Patrick Li 2002-01-02 01:53:22 +00:00
parent f5d5456b4b
commit 174d66fb55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52475

View file

@ -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: