]> git.pld-linux.org Git - packages/itk.git/blob - itk-soname.patch
ca8499fdf3f62cb1d5332731b3634d6c8a68d933
[packages/itk.git] / itk-soname.patch
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)
18 +       ${MAKE_LIB} -Wl,-soname,libitk$(PACKAGE_VERSION).so.0
19 +       -ln -sf $(PKG_LIB_FILE) libitk$(PACKAGE_VERSION).so.0
20  
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
25 @@ -2,5 +2,5 @@
26  
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]
This page took 0.065344 seconds and 2 git commands to generate.