From e03ed95d35f2a8022a93434d49067aefe8bc1658 Mon Sep 17 00:00:00 2001 From: perky Date: Thu, 27 Jun 2002 13:32:14 +0000 Subject: PERL -> REINPLACE_CMD PR: 39262, 39263, 39264, 39265, 39266, 39267 Submitted by: Oliver Braun --- x11-toolkits/itk/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/itk/Makefile b/x11-toolkits/itk/Makefile index 7bdfa7d..a248ac4 100644 --- a/x11-toolkits/itk/Makefile +++ b/x11-toolkits/itk/Makefile @@ -18,6 +18,7 @@ MAINTAINER= ports@freebsd.org LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 \ itcl${MAJOR}${MINOR}.1:${PORTSDIR}/lang/itcl +USE_REINPLACE= yes WRKSRC= ${WRKDIR}/itcl${MAJOR}.${MINOR}/itk INSTALLS_SHLIB= yes MAKE_ENV+= ${PLIST_SUB} \ @@ -44,11 +45,11 @@ post-extract: ${RM} ${WRKSRC}/pkgIndex.tcl post-patch: - ${PERL} -pi \ + ${REINPLACE_CMD} \ -e 's,package require Itk,load \ [glob ${WRKSRC}/${ITK_LIB_FILE}*],;' \ -e 's,return$$,exit,' ${WRKSRC}/tests/* - ${PERL} -pi \ + ${REINPLACE_CMD} \ -e 's,\@itk_LIB_FILE\@,${ITK_LIB_FILE},' \ ${WRKSRC}/pkgIndex.tcl.in -- cgit v1.1