aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-06-27 21:32:14 +0800
committerperky <perky@FreeBSD.org>2002-06-27 21:32:14 +0800
commite03ed95d35f2a8022a93434d49067aefe8bc1658 (patch)
tree7053d546b50dc8c80f77d56d5fb698de14173c30 /x11-toolkits
parent281286e8b38f321865bf28d5537decbcc8db77c5 (diff)
downloadfreebsd-ports-gnome-e03ed95d35f2a8022a93434d49067aefe8bc1658.tar.gz
freebsd-ports-gnome-e03ed95d35f2a8022a93434d49067aefe8bc1658.tar.zst
freebsd-ports-gnome-e03ed95d35f2a8022a93434d49067aefe8bc1658.zip
PERL -> REINPLACE_CMD
PR: 39262, 39263, 39264, 39265, 39266, 39267 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/itk/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-toolkits/itk/Makefile b/x11-toolkits/itk/Makefile
index 7bdfa7df68b4..a248ac40037d 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