From 534fffca27bb18f7529d548c46ee3326505a89c7 Mon Sep 17 00:00:00 2001
From: "David W. Chapman Jr." <dwcjr@FreeBSD.org>
Date: Sun, 1 Sep 2002 16:07:59 +0000
Subject: ${PERL} -> ${REINPLACE_CMD}

PR:		40784
Submitted by:	corecode@corecode.ath.cx
Reviewed by:	flynn@energyhq.homeip.net
---
 x11/imwheel/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'x11/imwheel')

diff --git a/x11/imwheel/Makefile b/x11/imwheel/Makefile
index da702eecb51e..896de2f0d629 100644
--- a/x11/imwheel/Makefile
+++ b/x11/imwheel/Makefile
@@ -12,6 +12,7 @@ MASTER_SITES=	http://jonatkins.org/imwheel/files/
 
 MAINTAINER=	ports@FreeBSD.org
 
+USE_REINPLACE=	yes
 USE_GMAKE=	YES
 USE_X_PREFIX=	YES
 GNU_CONFIGURE=	YES
@@ -21,7 +22,7 @@ MAN1=		imwheel.1
 
 post-patch:
 .for i in imwheel.1 util.c
-	@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i}
+	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i}
 .endfor
 
 post-install:
-- 
cgit v1.2.3