diff options
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/itk/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
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 |