aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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 /mail
parent689a2f36a3e59ca9862877625c915beba7a2a84d (diff)
downloadfreebsd-ports-gnome-7730c168bb2ed65d740527c4703144159aaeac35.tar.gz
freebsd-ports-gnome-7730c168bb2ed65d740527c4703144159aaeac35.tar.zst
freebsd-ports-gnome-7730c168bb2ed65d740527c4703144159aaeac35.zip
PERL -> REINPLACE
Noticed on: bento
Diffstat (limited to 'mail')
-rw-r--r--mail/cclient/Makefile3
-rw-r--r--mail/drac/Makefile3
2 files changed, 4 insertions, 2 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/