]>
Commit | Line | Data |
---|---|---|
090d128c JB |
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 | |
3 | @@ -80,7 +80,7 @@ | |
4 | # library that we are building. | |
5 | #======================================================================== | |
6 | ||
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@ | |
10 | ||
11 | lib_BINARIES = $(PKG_LIB_FILE) | |
12 | @@ -315,8 +315,8 @@ | |
13 | ||
14 | $(PKG_LIB_FILE): $(PKG_OBJECTS) | |
15 | -rm -f $(PKG_LIB_FILE) | |
16 | - ${MAKE_LIB} | |
17 | - $(RANLIB) $(PKG_LIB_FILE) | |
60bec3a3 JB |
18 | + ${MAKE_LIB} -Wl,-soname,libitk$(PACKAGE_VERSION).so.0 |
19 | + -ln -sf $(PKG_LIB_FILE) libitk$(PACKAGE_VERSION).so.0 | |
090d128c JB |
20 | |
21 | $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS) | |
22 | -rm -f $(PKG_STUB_LIB_FILE) | |
46b109dd JB |
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 | |
25 | @@ -2,5 +2,5 @@ | |
60bec3a3 | 26 | |
46b109dd JB |
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 | |
ae0c6360 | 29 | -package ifneeded itk @PACKAGE_VERSION@ [list load [file join $dir "@PKG_LIB_FILE@"] Itk] |
60bec3a3 | 30 | -package ifneeded Itk @PACKAGE_VERSION@ [list load [file join $dir "@PKG_LIB_FILE@"] Itk] |
ec6ee972 JB |
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] |