diff options
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/itk/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-toolkits/itk/Makefile b/x11-toolkits/itk/Makefile index 627de26..7bdfa7d 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: |