mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00: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
@ -21,11 +21,12 @@ ALL_TARGET= all contrib
|
||||
INSTALL_TARGET= install install-contrib
|
||||
MAKE_ARGS+= lispdir=${PREFIX}/${LISPDIR}
|
||||
PLIST_SUB+= LISPDIR=${LISPDIR}
|
||||
USE_REINPLACE= yes
|
||||
|
||||
# adjust a hardcoded '/usr/local' string
|
||||
post-patch:
|
||||
@${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:
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
Loading…
Reference in New Issue
Block a user