# HG changeset patch # User tom68 # Date 1365709040 0 # Node ID fa1ca407cdfbd705a31842421eaa81d6afe69704 # Parent c9adbeac9d08368fe9814ddca80b3046c992f3f3 SFEgeoip.spec: make use libtoolize/* conditional (S10/SXCE) diff -r c9adbeac9d08 -r fa1ca407cdfb trunk/SFEgeoip.spec --- a/trunk/SFEgeoip.spec Thu Apr 11 18:39:10 2013 +0000 +++ b/trunk/SFEgeoip.spec Thu Apr 11 19:37:20 2013 +0000 @@ -3,6 +3,7 @@ # # %include Solaris.inc +%include osdistro.inc Name: SFEgeoip IPS_Package_Name: library/geoip @@ -38,10 +39,12 @@ CPUS=1 fi +%if %{SXCE} libtoolize --copy --force aclocal automake -a -f autoconf -f +%endif ./configure --prefix=%{_prefix} \ --bindir=%{_bindir} \ @@ -52,6 +55,10 @@ --infodir=%{_infodir} \ --disable-static +%if %{SXCE} +sed -i -e 's?LIBTOOL =.*?LIBTOOL = /usr/bin/libtool?' `find . -type f -name Makefile` +%endif + make -j$CPUS %install @@ -81,6 +88,8 @@ %changelog +* Thu Apr 11 2013 - Thomas Wagner +- make use libtoolize/* conditional (S10/SXCE) * Sun Dec 11 2011 - Milan Jurik - bump to 1.4.8 * Sat Jul 23 2011 - Guido Berhoerster