SOURCES: itcl-soname.patch - install libs in proper place

baggins baggins at pld-linux.org
Wed Apr 2 19:19:47 CEST 2008


Author: baggins                      Date: Wed Apr  2 17:19:47 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- install libs in proper place

---- Files affected:
SOURCES:
   itcl-soname.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/itcl-soname.patch
diff -u SOURCES/itcl-soname.patch:1.4 SOURCES/itcl-soname.patch:1.5
--- SOURCES/itcl-soname.patch:1.4	Wed Apr  2 18:38:52 2008
+++ SOURCES/itcl-soname.patch	Wed Apr  2 19:19:42 2008
@@ -23,14 +23,14 @@
 --- itcl3.2.1/itk3.3/Makefile.in.orig	2003-12-31 17:35:30.000000000 +0100
 +++ itcl3.2.1/itk3.3/Makefile.in	2003-12-31 18:28:13.290461032 +0100
 @@ -80,7 +80,7 @@
- # are correct.
+ # library that we are building.
  #========================================================================
  
--itk_LIB_FILE	= @itk_LIB_FILE@
-+itk_LIB_FILE	= @itk_LIB_FILE at .0.0
- itkstub_LIB_FILE = @itkstub_LIB_FILE@
- itclstub_LIB_FILE = @itclstub_LIB_FILE@
+-PKG_LIB_FILE	= @PKG_LIB_FILE@
++PKG_LIB_FILE	= @PKG_LIB_FILE at .0.0
+ PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@
  
+ lib_BINARIES	= $(PKG_LIB_FILE)
 @@ -315,8 +315,8 @@
  
  $(PKG_LIB_FILE): $(PKG_OBJECTS)
@@ -38,7 +38,22 @@
 -	${MAKE_LIB}
 -	$(RANLIB) $(PKG_LIB_FILE)
 +	${MAKE_LIB} -Wl,-soname,libitk$(VERSION).so.0
-+	-ln -sf $(PKG_LIB_FILE) libitk$(VERSION).so
++	-ln -sf $(PKG_LIB_FILE) libitk$(VERSION).so.0
  
  $(PKG_STUB_LIB_FILE): $(PKG_STUB_OBJECTS)
  	-rm -f $(PKG_STUB_LIB_FILE)
+--- itcl-3.3/itcl3.3/configure.in~	2005-03-25 20:37:41.000000000 +0100
++++ itcl-3.3/itcl3.3/configure.in	2008-04-02 18:30:48.000000000 +0200
+@@ -220,10 +220,10 @@
+     eval itcl_STUB_LIB_FLAG="-litclstub`echo ${PACKAGE_VERSION} | tr -d .`${DBGX}"
+ fi
+ itcl_BUILD_LIB_SPEC="-L`pwd` ${itcl_LIB_FLAG}"
+-itcl_LIB_SPEC="-L${pkglibdir} ${itcl_LIB_FLAG}"
++itcl_LIB_SPEC="-L${libdir} ${itcl_LIB_FLAG}"
+ 
+ itcl_BUILD_STUB_LIB_SPEC="-L`pwd` ${itcl_STUB_LIB_FLAG}"
+-itcl_STUB_LIB_SPEC="-L${pkglibdir} ${itcl_STUB_LIB_FLAG}"
++itcl_STUB_LIB_SPEC="-L${libdir} ${itcl_STUB_LIB_FLAG}"
+ itcl_BUILD_STUB_LIB_PATH="`pwd`/${itcl_STUB_LIB_FILE}"
+ itcl_STUB_LIB_PATH="${pkglibdir}/${itcl_STUB_LIB_FILE}"
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/itcl-soname.patch?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list