1 --- itk/Makefile.in.orig 2003-12-31 17:35:30.000000000 +0100
2 +++ itk/Makefile.in 2003-12-31 18:28:13.290461032 +0100
4 # library that we are building.
5 #========================================================================
7 -PKG_LIB_FILE = @PKG_LIB_FILE@
8 +PKG_LIB_FILE = @PKG_LIB_FILE@.0.0
9 PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@
11 lib_BINARIES = $(PKG_LIB_FILE)
14 $(PKG_LIB_FILE): $(PKG_OBJECTS)
15 -rm -f $(PKG_LIB_FILE)
17 - $(RANLIB) $(PKG_LIB_FILE)
18 + ${MAKE_LIB} -Wl,-soname,libitk$(PACKAGE_VERSION).so.0
19 + -ln -sf $(PKG_LIB_FILE) libitk$(PACKAGE_VERSION).so.0
21 $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS)
22 -rm -f $(PKG_STUB_LIB_FILE)
23 --- itk4.1.0/pkgIndex.tcl.in.orig 2019-01-17 19:22:30.327974793 +0100
24 +++ itk4.1.0/pkgIndex.tcl.in 2019-01-17 19:57:16.177950975 +0100
27 if {![package vsatisfies [package provide Tcl] 8.6]} return
28 if {[string length [package provide Itcl]] && ![package vsatisfies [package provide Itcl] 4.1]} return
29 -package ifneeded itk @PACKAGE_VERSION@ [list load [file join $dir "@PKG_LIB_FILE@"] Itk]
30 -package ifneeded Itk @PACKAGE_VERSION@ [list load [file join $dir "@PKG_LIB_FILE@"] Itk]
31 +package ifneeded itk @PACKAGE_VERSION@ [list load "@libdir@"/"@PKG_LIB_FILE@.0" Itk]
32 +package ifneeded Itk @PACKAGE_VERSION@ [list load "@libdir@"/"@PKG_LIB_FILE@.0" Itk]