]> git.pld-linux.org Git - packages/itk.git/blob - itk-soname.patch
- updated to 4.0.2 (itk 3.x left on itk-3 branch)
[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.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
25 @@ -1,5 +1,5 @@
26  # Tcl package index file, version 1.0
27  
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]
This page took 0.084121 seconds and 3 git commands to generate.