Bug 39265

Summary: Update port: lang/itcl ${PERL} -> ${REINPLACE_CMD}
Product: Ports & Packages Reporter: obraun <obraun>
Component: Individual Port(s)Assignee: freebsd-ports mailing list <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description obraun 2002-06-14 10:10:02 UTC
Replace ${PERL} with ${REINPLACE_CMD}.

Regards,
         Olli
Comment 1 obraun 2002-06-19 23:24:20 UTC
add USE_REINPLACE= yes

Regards,
         Olli


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/itcl/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- Makefile	2001/07/28 14:53:45	1.30
+++ Makefile	2002/06/19 22:24:00
@@ -17,6 +17,7 @@
 LIB_DEPENDS=	tcl83:${PORTSDIR}/lang/tcl83
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/itcl
+USE_REINPLACE=	yes
 INSTALLS_SHLIB=	yes
 PKGINSTALL=	${PORTSDIR}/lang/tcl83/pkg-install.tclsh
 PKGDEINSTALL=	${PORTSDIR}/lang/tcl83/pkg-deinstall.tclsh
@@ -47,7 +48,7 @@
 	${RM} ${WRKSRC}/pkgIndex.tcl
 
 post-patch:
-	${PERL} -pi \
+	${REINPLACE_CMD} \
 		-e 's,package require Itcl,load [glob \
 			${WRKSRC}/${ITCL_LIB}.${SHLIB_MAJOR}*],;' \
 		${WRKSRC}/tests/*.test
Comment 2 Hye-Shik Chang freebsd_committer 2002-06-27 14:33:40 UTC
State Changed
From-To: open->closed

Committed, Thanks!