packages: tcl/tcl.spec - use ld.bfd, fixes libtclstub: /usr/bin/ld: error...

adamg adamg at pld-linux.org
Sun Jul 3 17:01:06 CEST 2011


Author: adamg                        Date: Sun Jul  3 15:01:06 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use ld.bfd, fixes libtclstub:
  /usr/bin/ld: error: tclstub8.5: no archive symbol table (run ranlib)
  /usr/lib64/libtclstub8.5.a: could not read symbols: Archive has no index; run ranlib to add one
- release 2

---- Files affected:
packages/tcl:
   tcl.spec (1.146 -> 1.147) 

---- Diffs:

================================================================
Index: packages/tcl/tcl.spec
diff -u packages/tcl/tcl.spec:1.146 packages/tcl/tcl.spec:1.147
--- packages/tcl/tcl.spec:1.146	Tue Jun 28 10:27:23 2011
+++ packages/tcl/tcl.spec	Sun Jul  3 17:01:01 2011
@@ -16,7 +16,7 @@
 Summary(uk.UTF-8):	Tool Command Language - вбудовувана мова скриптів
 Name:		tcl
 Version:	%{major}.%{minor}
-Release:	1
+Release:	2
 License:	BSD
 Group:		Development/Languages/Tcl
 Source0:	http://downloads.sourceforge.net/tcl/%{name}%{version}-src.tar.gz
@@ -137,7 +137,9 @@
 %endif
 
 cd unix
-sed -i -e "s/^CFLAGS_OPTIMIZE.*/CFLAGS_OPTIMIZE=%{rpmcflags} -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_REENTRANT -DTCL_NO_STACK_CHECK=1/" \
+sed -i -e "s/^CFLAGS_OPTIMIZE.*/CFLAGS_OPTIMIZE=%{rpmcflags} -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_REENTRANT -DTCL_NO_STACK_CHECK=1 -fPIC/" \
+       -e "s/^SHLIB_LD .*/SHLIB_LD=ld.bfd/" \
+       -e "s/^SHLIB_CFLAGS.*/SHLIB_CFLAGS=%{rpmldflags}/" \
 	Makefile.in
 %{__autoconf}
 %configure \
@@ -376,6 +378,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.147  2011/07/03 15:01:01  adamg
+- use ld.bfd, fixes libtclstub:
+  /usr/bin/ld: error: tclstub8.5: no archive symbol table (run ranlib)
+  /usr/lib64/libtclstub8.5.a: could not read symbols: Archive has no index; run ranlib to add one
+- release 2
+
 Revision 1.146  2011/06/28 08:27:23  marti
 - up to 8.5.10
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tcl/tcl.spec?r1=1.146&r2=1.147&f=u



More information about the pld-cvs-commit mailing list