Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sound
In directory vz-cvs-3.sog:/tmp/cvs-serv7974

Modified Files:
        audacious2.info 
Log Message:
Fix building on 10.8.


Index: audacious2.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sound/audacious2.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- audacious2.info     23 Aug 2011 21:16:05 -0000      1.2
+++ audacious2.info     25 Sep 2012 01:53:16 -0000      1.3
@@ -131,6 +131,12 @@
 ConfigureParams: --disable-dependency-tracking --enable-samplerate 
--with-regexlib=pcre --disable-rpath
 
 CompileScript: <<
+       #!/bin/bash -ev
+       let version=`uname -r | cut -f 1 -d .`
+       if [ $version -ge 12 ]; then
+               export LIBS="$LIBS -L/opt/X11/lib -lICE"
+       fi
+
        ./configure %c
        make LIB_LDFLAGS='-dynamiclib -install_name 
${libdir}/${LIB:.dylib=.${LIB_MAJOR}.dylib} -current_version 
${LIB_MAJOR}.${LIB_MINOR} -compatibility_version ${LIB_MAJOR}.0' 
LIB_CFLAGS='-fPIC -fno-common'
 <<


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to