- Fix build with nondefault LOCALBASE

PR:		174019
Submitted by:	myself
Approved by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer)
Feature safe:	yes
This commit is contained in:
Dmitry Marakasov 2012-12-03 18:25:44 +00:00
parent bab1e242b1
commit a290d4bb73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308164

View File

@ -87,6 +87,7 @@ post-patch:
@${FIND} ${WRKSRC}/doc/man/man5 -name '*.5' -maxdepth 1 | \
${XARGS} ${REINPLACE_CMD} -e 's|special file|5| ; \
s|file formats|5|'
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/configure.ac
pre-configure:
cd ${WRKSRC} && ./autogen.sh