From f5c04fadd1b26fc0d377421531b7bdc50739cbe9 Mon Sep 17 00:00:00 2001 From: ijliao 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') 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