From e28630ead26369af9ef1d199ae48177e0e2486ae Mon Sep 17 00:00:00 2001
From: Ying-Chieh Liao <ijliao@FreeBSD.org>
Date: Sun, 23 Jun 2002 06:04:01 +0000
Subject: Replace ${PERL} with ${REINPLACE_CMD}

PR:		39668
Submitted by:	Oliver Braun <obraun@informatik.unibw-muenchen.de>
---
 net/gps/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'net/gps')

diff --git a/net/gps/Makefile b/net/gps/Makefile
index ece2313172bc..0a08910782c5 100644
--- a/net/gps/Makefile
+++ b/net/gps/Makefile
@@ -15,12 +15,13 @@ MAINTAINER=	ports@FreeBSD.org
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
 
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
 USE_GMAKE=	yes
 
 post-patch:
-	@${PERL} -pi -e "s,-Wall -O3,${CFLAGS},g" ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e "s,-Wall -O3,${CFLAGS},g" ${WRKSRC}/configure
 
 .if !defined(NOPORTDOCS)
 post-install:
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0