packages: libtool/libtool.spec - produce /usr/bin/libtool script that works...

qboosh qboosh at pld-linux.org
Sun Nov 13 17:19:25 CET 2011


Author: qboosh                       Date: Sun Nov 13 16:19:25 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- produce /usr/bin/libtool script that works on POSIX shells without += extension;
  local libtools could still use this extension (if available) to gain speed boost during builds

---- Files affected:
packages/libtool:
   libtool.spec (1.207 -> 1.208) 

---- Diffs:

================================================================
Index: packages/libtool/libtool.spec
diff -u packages/libtool/libtool.spec:1.207 packages/libtool/libtool.spec:1.208
--- packages/libtool/libtool.spec:1.207	Thu Oct 27 19:35:18 2011
+++ packages/libtool/libtool.spec	Sun Nov 13 17:19:20 2011
@@ -26,6 +26,7 @@
 BuildRequires:	automake >= 1:1.11.1
 BuildRequires:	libstdc++-devel >= 5:3.3.3
 BuildRequires:	rpmbuild(macros) >= 1.213
+BuildRequires:	sed >= 4.0
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	texinfo
 BuildRequires:	xz
@@ -159,6 +160,12 @@
 %{__automake}
 cd ..
 
+# Change in configure itself, so it will affect packaged %{_bindir}/libtool
+# script, not local libtools generated during packages building:
+# libtool packaged as /bin/sh script for general use should work with any
+# POSIX sh, not just the ones having extensions (like "+=" operator) that
+# shell used to build libtool package had.
+%{__sed} -i 's/lt_shell_append=yes/lt_shell_append=no/' configure
 %configure
 
 %{__make}
@@ -242,6 +249,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.208  2011/11/13 16:19:20  qboosh
+- produce /usr/bin/libtool script that works on POSIX shells without += extension;
+  local libtools could still use this extension (if available) to gain speed boost during builds
+
 Revision 1.207  2011/10/27 17:35:18  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libtool/libtool.spec?r1=1.207&r2=1.208&f=u



More information about the pld-cvs-commit mailing list