Hi,
Second set of diffs for libtool 2.2.4, FOSSgettextwo compiles fine
32 bit and 64 bit AMD64 with these.
FOSSlibiconvwo looks like needs a similar find sed command, I'm
working on that.
Thanks, Mark
Index: Dude/GETTEXT/0.17/Solaris/apply_patches
===================================================================
--- Dude/GETTEXT/0.17/Solaris/apply_patches (revision 1994)
+++ Dude/GETTEXT/0.17/Solaris/apply_patches (working copy)
@@ -1,5 +1,10 @@
#!/bin/bash
+# libtool 2.2.4 requires a shell smarter than Bourne shell, like bash.
+# Attempting to use Bourne shell /bin/sh on Solaris 10u5 fails like:
+# pkgbuild: ../libtool: syntax error at line 659: `func_arith_result=$'
unexpected
+find . -type f -name Makefile.in -exec egrep "SHELL.*=.*/bin/sh" {} \; -exec
sed -i -e "s%SHELL.*=.*/bin/sh%SHELL = @sh...@%" {} \;
+
for file in \
Makefile.am.diff \
gettextP.h.0.diff \
Index: Dude/SPECS/gettextwo.pspc
===================================================================
--- Dude/SPECS/gettextwo.pspc (revision 1994)
+++ Dude/SPECS/gettextwo.pspc (working copy)
@@ -26,6 +26,7 @@
%{_bindir}/autopoint
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/lib*.so*
+%{_libdir}/lib*.a
%{_libdir}/gettext/*
%ifarch amd64 sparcv9
%dir %attr (0755, root, bin) %{_bindir}/%_arch64
@@ -36,6 +37,7 @@
%{_bindir}/%_arch64/autopoint
%dir %attr (0755, root, bin) %{_libdir}/%_arch64
%{_libdir}/%_arch64/lib*.so*
+%{_libdir}/%_arch64/lib*.a
%{_libdir}/%_arch64/gettext/*
%endif
%dir %attr (0755, root, bin) %{_includedir}
@@ -54,6 +56,8 @@
%{_mandir}/*
%changelog
+* Sat May 24 2008 - markwright at internode.on.net
+- libtool 2.2.4 also creates lib*.a files.
* Sat Jan 23 2008 - oboril.lukas at gmail.com
- Initial pspc
--