Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/net In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7942
Modified Files: libcurl4.info Log Message: Futureos fix. Index: libcurl4.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/net/libcurl4.info,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- libcurl4.info 23 Jun 2013 00:35:49 -0000 1.15 +++ libcurl4.info 19 Jul 2013 00:23:52 -0000 1.16 @@ -58,6 +58,7 @@ BuildDependsOnly: True PatchScript: << + #!/bin/sh -ex #Since we're not building static libs, no need to cascade dep libs. perl -pi -e 's/link_all_deplibs=yes/link_all_deplibs=no/g' configure #Clear out unnecessary junk. Leave -lssl in curl-config as a hack for pycurl. @@ -68,8 +69,18 @@ #curl tool needs to link to libcrypto when using libmetalink. perl -pi -e 's,\@LIBMETALINK_LIBS\@,\@LIBMETALINK_LIBS\@ -lcrypto,' src/Makefile.in #Set up to use system's ldap - /bin/cp /usr/include/lber*.h . - /bin/cp /usr/include/ldap*.h . + darwin_vers=`uname -r | cut -d. -f1` + sdk_root='' + if [ "$darwin_vers" -ge 13 ]; then + darwinvers=`sw_vers -productVersion | cut -d. -f1-2` + if [ -d /Library/Developer/CommandLineTools ]; then + sdkroot=`xcode-select --print-path`/SDKs/MacOSX$darwinvers.sdk + else + sdkroot=`xcode-select --print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$darwinvers.sdk + fi + fi + /bin/cp $sdkroot/usr/include/lber*.h . + /bin/cp $sdkroot/usr/include/ldap*.h . /bin/cp /usr/lib/libldap.dylib . << ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs