aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 10:55:13 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 10:55:13 +0800
commitcb31326481a416f5ce1e241a720fb5e146c216a5 (patch)
treeb06191ce1a5accea6b961251b3aeb4bfdbbf85b0 /archivers
parentc4ef1140295d9b2479fc870af4e95437ea668c56 (diff)
downloadfreebsd-ports-gnome-cb31326481a416f5ce1e241a720fb5e146c216a5.tar.gz
freebsd-ports-gnome-cb31326481a416f5ce1e241a720fb5e146c216a5.tar.zst
freebsd-ports-gnome-cb31326481a416f5ce1e241a720fb5e146c216a5.zip
PERL -> REINPLACE
Noticed on: bento
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rpm/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/archivers/rpm/Makefile b/archivers/rpm/Makefile
index 4e4e6ffb2cb2..b031fc9bcfa6 100644
--- a/archivers/rpm/Makefile
+++ b/archivers/rpm/Makefile
@@ -22,6 +22,7 @@ LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
USE_GMAKE= yes
USE_AUTOMAKE_VER=14
+USE_REINPLACE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --with-glob
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -34,7 +35,7 @@ MAN8= rpm.8 rpm2cpio.8
post-patch:
.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
post-install: