mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix r521031 to correctly handle the case when texinfo is already installed
but INFO is off.
This commit is contained in:
parent
d3f1615832
commit
52cfc9b501
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521228
1 changed files with 5 additions and 0 deletions
|
@ -40,8 +40,13 @@ WRKSRC= ${WRKDIR}/call/cvs-build
|
|||
DESTDIRNAME= NADA
|
||||
MAKE_ARGS= DESTDIR=${STAGEDIR}${PREFIX}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,/info/,/${INFO_PATH}/,g" ${WRKSRC}/Makefile.inc
|
||||
.if !${PORT_OPTIONS:MINFO}
|
||||
@${REINPLACE_CMD} -e "s,doc,,g" ${WRKSRC}/Makefile
|
||||
.endif
|
||||
pre-install:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/contrib
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue