]> git.pld-linux.org Git - packages/itcl.git/commitdiff
- updated soname patch to use proper variable; patch pkgIndex.tcl for changed lib...
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 2 Dec 2011 16:51:17 +0000 (16:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    itcl-soname.patch -> 1.9
    itcl.spec -> 1.33

itcl-soname.patch

index 5bfe54d19f022f12db16dc64c1195bffd00678bb..d1510997ca29f7c9e103e525fe879d2d9631a8e2 100644 (file)
        -rm -f $(PKG_LIB_FILE)
 -      ${MAKE_LIB}
 -      $(RANLIB) $(PKG_LIB_FILE)
-+      ${MAKE_LIB} -Wl,-soname,libitcl$(VERSION).so.0
-+      -ln -sf $(PKG_LIB_FILE) libitcl$(VERSION).so.0
++      ${MAKE_LIB} -Wl,-soname,libitcl$(PACKAGE_VERSION).so.0
++      -ln -sf $(PKG_LIB_FILE) libitcl$(PACKAGE_VERSION).so.0
  
  $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS)
        -rm -f $(PKG_STUB_LIB_FILE)
+--- itcl3.4.1/pkgIndex.tcl.in.orig     2011-07-15 18:34:43.000000000 +0200
++++ itcl3.4.1/pkgIndex.tcl.in  2011-12-02 17:07:08.483164656 +0100
+@@ -1,4 +1,4 @@
+ # Tcl package index file, version 1.0
+ if {![package vsatisfies [package present Tcl] @TCL_VERSION@]} {return}
+-package ifneeded Itcl @PACKAGE_VERSION@ [list load [file join $dir "@PKG_LIB_FILE@"] Itcl]
++package ifneeded Itcl @PACKAGE_VERSION@ [list load "@libdir@/@PKG_LIB_FILE@.0" Itcl]
This page took 0.044948 seconds and 4 git commands to generate.