mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
PERL -> REINPLACE
Noticed on: bento
This commit is contained in:
parent
1c4ae2ac0e
commit
6eea723866
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69413
@ -16,11 +16,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= IRCLIB="${IRCLIB}"
|
||||
USE_REINPLACE= yes
|
||||
|
||||
IRCLIB= ${PREFIX}/share/ninja
|
||||
|
||||
post-patch:
|
||||
@${PERL} -e "s|%%IRCLIB%%|${IRCLIB}|g" ${WRKSRC}/include/config.h.dist
|
||||
@${REINPLACE_CMD} -e "s|%%IRCLIB%%|${IRCLIB}|g" \
|
||||
${WRKSRC}/include/config.h.dist
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ninja ${PREFIX}/bin
|
||||
|
Loading…
Reference in New Issue
Block a user