Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv881
Modified Files: libserf1.info Log Message: New upstream libserf1 1.3.2. Wow, scons really sucks. Patch around upstream's breakage of install_name and c_v. Index: libserf1.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/libserf1.info,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- libserf1.info 20 Aug 2013 13:49:53 -0000 1.9 +++ libserf1.info 15 Oct 2013 02:52:25 -0000 1.10 @@ -1,5 +1,5 @@ Package: libserf1 -Version: 1.3.1 +Version: 1.3.2 Revision: 1 Description: High-performance HTTP client library License: BSD @@ -12,19 +12,21 @@ # Unpack Phase: Source: http://serf.googlecode.com/files/serf-%v.tar.bz2 -Source-MD5: da5aca0cad19fd9c19129c3f8f7393dd +Source-MD5: 43ce30fccf39ab0186a7590e2733e3ec -# Sucky, sucky scons. -PatchScript: perl -pi -e "s|lib_shared\[0\]\.name|'libserf-1.0.dylib'|" SConstruct +# Sucky, sucky scons. Make sure we use same install_name as 1.3.1. +PatchScript: perl -pi -e "s|'%%s\.dylib'|'%%s.0.dylib'|" SConstruct # Compile Phase: +# 1.3.2 rolled back c_v from 4.0.0 to 1.3.0 which breaks things naturally. +# Force it back to 4.0.0. Eliminate in next major version. CompileScript: << #!/bin/bash -ev if [ "%m" == "i386" ]; then scons \ PREFIX=%p \ CFLAGS=-m32 \ - LINKFLAGS=-Wl,-dead_strip_dylibs,-arch,%m \ + LINKFLAGS=-Wl,-dead_strip_dylibs,-arch,%m,-compatibility_version,4,-current_version,4.2 \ APR=%p/bin/apr-1-config \ APU=%p/bin/apu-1-config \ OPENSSL=%p \ @@ -34,7 +36,7 @@ scons \ PREFIX=%p \ CFLAGS=-m64 \ - LINKFLAGS=-Wl,-dead_strip_dylibs,-arch,%m \ + LINKFLAGS=-Wl,-dead_strip_dylibs,-arch,%m,-compatibility_version,4,-current_version,4.2 \ APR=%p/bin/apr-1-config \ APU=%p/bin/apu-1-config \ OPENSSL=%p \ @@ -58,7 +60,7 @@ InstallScript: << scons install PREFIX=%p --install-sandbox=%d # Because scons sucks... - ln -s libserf-1.3.0.0.dylib %i/lib/libserf-1.0.dylib + ln -s libserf-1.1.3.0.dylib %i/lib/libserf-1.0.dylib rm %i/lib/libserf-1.a << ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs