mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
PERL -> REINPLACE
Noticed on: bento
This commit is contained in:
parent
8bfc86fab6
commit
f998224d59
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69426
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@ LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
|
||||||
|
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_AUTOMAKE_VER=14
|
USE_AUTOMAKE_VER=14
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_LIBTOOL= yes
|
USE_LIBTOOL= yes
|
||||||
CONFIGURE_ARGS= --with-glob
|
CONFIGURE_ARGS= --with-glob
|
||||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
|
@ -34,7 +35,7 @@ MAN8= rpm.8 rpm2cpio.8
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.for file in rpm.c doc/rpm.8 lib/macro.c lib/rpmrc.c
|
.for file in rpm.c doc/rpm.8 lib/macro.c lib/rpmrc.c
|
||||||
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
|
Loading…
Add table
Reference in a new issue