packages: itcl/itcl.spec, itcl/itcl-soname.patch - updated soname patch to ...

qboosh qboosh at pld-linux.org
Fri Dec 2 17:51:23 CET 2011


Author: qboosh                       Date: Fri Dec  2 16:51:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated soname patch to use proper variable; patch pkgIndex.tcl for changed lib dir/soname

---- Files affected:
packages/itcl:
   itcl.spec (1.32 -> 1.33) , itcl-soname.patch (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/itcl/itcl.spec
diff -u packages/itcl/itcl.spec:1.32 packages/itcl/itcl.spec:1.33
--- packages/itcl/itcl.spec:1.32	Thu Dec  1 19:09:40 2011
+++ packages/itcl/itcl.spec	Fri Dec  2 17:51:17 2011
@@ -124,6 +124,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2011/12/02 16:51:17  qboosh
+- updated soname patch to use proper variable; patch pkgIndex.tcl for changed lib dir/soname
+
 Revision 1.32  2011/12/01 18:09:40  qboosh
 - updated to 3.4.1
 - updated soname patch

================================================================
Index: packages/itcl/itcl-soname.patch
diff -u packages/itcl/itcl-soname.patch:1.8 packages/itcl/itcl-soname.patch:1.9
--- packages/itcl/itcl-soname.patch:1.8	Thu Dec  1 19:09:40 2011
+++ packages/itcl/itcl-soname.patch	Fri Dec  2 17:51:17 2011
@@ -15,8 +15,16 @@
  	-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 at .0" Itcl]
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/itcl/itcl.spec?r1=1.32&r2=1.33&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/itcl/itcl-soname.patch?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list