aboutsummaryrefslogtreecommitdiffstats
path: root/misc/upclient
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-24 12:44:17 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-24 12:44:17 +0800
commitc763050df812af11e0607dd7d69b31ab067c093c (patch)
treeaa116af2ce179457b332c1e5de24e02d0c179cfa /misc/upclient
parent06e61ce578bc86c82cd449bb52d230bb3d20e8cc (diff)
downloadfreebsd-ports-gnome-c763050df812af11e0607dd7d69b31ab067c093c.tar.gz
freebsd-ports-gnome-c763050df812af11e0607dd7d69b31ab067c093c.tar.zst
freebsd-ports-gnome-c763050df812af11e0607dd7d69b31ab067c093c.zip
${PERL} -> ${REINPLACE_CMD}
PR: 39746 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
Diffstat (limited to 'misc/upclient')
-rw-r--r--misc/upclient/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/upclient/Makefile b/misc/upclient/Makefile
index e13e3786c927..87f3bb615af0 100644
--- a/misc/upclient/Makefile
+++ b/misc/upclient/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= cyrille.lefevre@laposte.net
# Global variables
#
+USE_REINPLACE= yes
ALL_TARGET= bsd
BUILD_WRKSRC= ${WRKSRC}/src
@@ -34,7 +35,7 @@ DOC_FILES= AUTHORS COPYING FAQ HISTORY INSTALL README TODO
post-patch: patch-script patch-message
patch-script:
- @${PERL} -pi.fbsd -e 's.%%PREFIX%%.${PREFIX}.g' ${WRKSRC}/scripts/upchk
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/scripts/upchk
patch-message:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}