From 097929eff759c6734afbaf869c2bf458f28bd689 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Fri, 17 Aug 2001 14:42:48 +0000 Subject: substitute a untranslated variable PR: 29308, 29697 Submitted by: Edwin Groothuis --- x11-toolkits/itk/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'x11-toolkits/itk') diff --git a/x11-toolkits/itk/Makefile b/x11-toolkits/itk/Makefile index 627de26172ce..7bdfa7df68b4 100644 --- a/x11-toolkits/itk/Makefile +++ b/x11-toolkits/itk/Makefile @@ -7,6 +7,7 @@ PORTNAME= itk PORTVERSION= ${MAJOR}.${MINOR} +PORTREVISION= 1 CATEGORIES= x11-toolkits tk83 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=incrtcl @@ -47,6 +48,9 @@ post-patch: -e 's,package require Itk,load \ [glob ${WRKSRC}/${ITK_LIB_FILE}*],;' \ -e 's,return$$,exit,' ${WRKSRC}/tests/* + ${PERL} -pi \ + -e 's,\@itk_LIB_FILE\@,${ITK_LIB_FILE},' \ + ${WRKSRC}/pkgIndex.tcl.in .if defined(DISPLAY) post-build test: -- cgit v1.2.3