aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 09:37:23 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 09:37:23 +0800
commit7730c168bb2ed65d740527c4703144159aaeac35 (patch)
treed413f55fbe63f3d3af3d9e53fc14b721939ed1aa
parent689a2f36a3e59ca9862877625c915beba7a2a84d (diff)
downloadfreebsd-ports-gnome-7730c168bb2ed65d740527c4703144159aaeac35.tar.gz
freebsd-ports-gnome-7730c168bb2ed65d740527c4703144159aaeac35.tar.zst
freebsd-ports-gnome-7730c168bb2ed65d740527c4703144159aaeac35.zip
PERL -> REINPLACE
Noticed on: bento
-rw-r--r--mail/cclient/Makefile3
-rw-r--r--mail/drac/Makefile3
-rw-r--r--net/pxe/Makefile3
-rw-r--r--security/vpnd/Makefile4
4 files changed, 9 insertions, 4 deletions
diff --git a/mail/cclient/Makefile b/mail/cclient/Makefile
index 41c793e005bb..16b52b883092 100644
--- a/mail/cclient/Makefile
+++ b/mail/cclient/Makefile
@@ -27,6 +27,7 @@ USE_OPENSSL= yes
.endif
WRKSRC= ${WRKDIR}/imap-2001a
+USE_REINPLACE= yes
SHLIBBASE= c-client4
SHLIBMAJ= 8
@@ -45,7 +46,7 @@ SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}.0
post-patch:
.for file in ${PREFIX_FIX_FILES}
- @${PERL} -pi -ne "s!/usr/local!${PREFIX}!g" ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -ne "s!/usr/local!${PREFIX}!g" ${WRKSRC}/${file}
.endfor
post-configure:
diff --git a/mail/drac/Makefile b/mail/drac/Makefile
index b07096f4893d..822dd1822b3e 100644
--- a/mail/drac/Makefile
+++ b/mail/drac/Makefile
@@ -22,6 +22,7 @@ LIB_DEPENDS+= db3.3:${PORTSDIR}/databases/db3
.endif
NO_WRKSUBDIR= yes
+USE_REINPLACE= yes
MAN3= dracauth.3
MAN1= rpc.dracd.1
@@ -45,7 +46,7 @@ pre-everything::
@${ECHO} "============================================================="
post-patch:
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/rpc.dracd.1m
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/rpc.dracd.1m
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/rpc.dracd ${PREFIX}/sbin/
diff --git a/net/pxe/Makefile b/net/pxe/Makefile
index a39bea528e21..111ebe1893af 100644
--- a/net/pxe/Makefile
+++ b/net/pxe/Makefile
@@ -14,6 +14,7 @@ MASTER_SITES= http://www.kano.org.uk/projects/pxe/ \
MAINTAINER= anders@FreeBSD.org
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
CONFIGURE_ARGS+= --with-config=${PREFIX}/etc/pxe.conf \
--with-log=/var/log/pxe.log \
--with-setuid=nobody
@@ -21,7 +22,7 @@ CONFIGURE_ARGS+= --with-config=${PREFIX}/etc/pxe.conf \
DOCS= Changes INSTALL LICENCE README
post-patch:
- ${PERL} -pi -e "s,^CFLAGS.*,CFLAGS=\t\@CFLAGS\@,; \
+ ${REINPLACE_CMD} -e "s,^CFLAGS.*,CFLAGS=\t\@CFLAGS\@,; \
s,^CC.*,CC=\t${CXX}," \
${WRKSRC}/Makefile.in
diff --git a/security/vpnd/Makefile b/security/vpnd/Makefile
index 420d9475ae20..2b50143eb034 100644
--- a/security/vpnd/Makefile
+++ b/security/vpnd/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= anders@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
+USE_REINPLACE= yes
DOCFILES= README FAQ.TXT SPEED.TXT VERSIONS
@@ -24,7 +25,8 @@ post-patch:
< ${WRKSRC}/Makefile.FreeBSD.in_tmp > ${WRKSRC}/Makefile.FreeBSD.in
pre-configure:
- ${PERL} -pi.orig -e "s@-O3@${CFLAGS}@g; s@gcc@${CC}@g" ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s@-O3@${CFLAGS}@g; s@gcc@${CC}@g" \
+ ${WRKSRC}/configure
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/vpnd ${PREFIX}/sbin/vpnd