Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2001 18:50:34 +1000 (EST)
From:      edwin@mavetju.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29697: [patch] repairing itk-3.2
Message-ID:  <20010814085034.74C2F190@k7.mavetju.org>

next in thread | raw e-mail | index | archive | help

>Number:         29697
>Category:       ports
>Synopsis:       [patch] repairing itk-3.2
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 14 02:00:06 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
n/a
>Environment:

# $FreeBSD: ports/x11-toolkits/itk/Makefile,v 1.8 2001/07/28 14:53:45 mi Exp $

>Description:

After the upgrade to itk-3.20 a lot of software relying on
itcl/itk/iwidgets didn't work anymore. This was because of
/usr/local/lib/itk3.2/pkgIndex.tcl had a untranslated @variable@
in it.

See also pr ports/29308, which can be closed.

>How-To-Repeat:

Install ports/x11-toolkits/itk and see /usr/local/lib/itk3.2/pkgIndex.tcl.

>Fix:

Note that the indention is done via tabs, not spaces!

--- Makefile.orig	Tue Aug 14 18:30:45 2001
+++ Makefile	Tue Aug 14 18:48:46 2001
@@ -47,6 +47,9 @@
 		-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:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010814085034.74C2F190>