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.0.2/pkgIndex.tcl.in.orig 2016-02-16 21:02:10.000000000 +0100
24 +++ itk4.0.2/pkgIndex.tcl.in 2016-03-10 21:45:05.467914211 +0100
26 # Tcl package index file, version 1.0
28 if {![package vsatisfies [package present Tcl] 8.6]} 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]