mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
Use REINPLACE_CMD
This commit is contained in:
parent
068d7ac523
commit
82098a30f3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61963
1 changed files with 2 additions and 1 deletions
|
@ -21,11 +21,12 @@ ALL_TARGET= all contrib
|
||||||
INSTALL_TARGET= install install-contrib
|
INSTALL_TARGET= install install-contrib
|
||||||
MAKE_ARGS+= lispdir=${PREFIX}/${LISPDIR}
|
MAKE_ARGS+= lispdir=${PREFIX}/${LISPDIR}
|
||||||
PLIST_SUB+= LISPDIR=${LISPDIR}
|
PLIST_SUB+= LISPDIR=${LISPDIR}
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
# adjust a hardcoded '/usr/local' string
|
# adjust a hardcoded '/usr/local' string
|
||||||
post-patch:
|
post-patch:
|
||||||
@${ECHO_MSG} "===> Substituting hardcoded '/usr/local' paths"
|
@${ECHO_MSG} "===> Substituting hardcoded '/usr/local' paths"
|
||||||
${PERL} -wpi -e 's?/usr/local?${PREFIX}?g' ${WRKSRC}/tex.el
|
${REINPLACE_CMD} -e 's?/usr/local?${PREFIX}?g' ${WRKSRC}/tex.el
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
|
|
Loading…
Add table
Reference in a new issue