Author: ranger
Date: Sun Oct 14 17:50:17 2007
New Revision: 1010

URL: 
http://svn.finkproject.org/websvn/listing.php?sc=1&rev=1010&repname=user%3a+ranger
Log:
10.5 OpenGL workaround

Modified:
    kde-admindir/trunk/environment-helper.sh

Modified: kde-admindir/trunk/environment-helper.sh
URL: 
http://svn.finkproject.org/websvn/diff.php?path=/kde-admindir/trunk/environment-helper.sh&rev=1010&repname=user%3a+ranger
==============================================================================
--- kde-admindir/trunk/environment-helper.sh (original)
+++ kde-admindir/trunk/environment-helper.sh Sun Oct 14 17:50:17 2007
@@ -11,6 +11,8 @@
 [ "$FINK_X11" = "false" ] && export FINK_X11=0
 [ "$FINK_X11" = "no"    ] && export FINK_X11=0
 [ -z "$FINK_X11"        ] && export FINK_X11=0
+
+export LDFLAGS=""
 
 # set some basic OS stuff
 SW_VERSION=`sw_vers -productVersion | cut -d. -f1-2`
@@ -48,14 +50,18 @@
                        exit 1
                fi
                ;;
+       10.5)
+               export MACOSX_DEPLOYMENT_TARGET="$SW_VERSION"
+               export LD_TWOLEVEL_NAMESPACE=true
+               export 
LDFLAGS="-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
+               FREETYPE_CONFIG=$PREFIX/lib/freetype219/bin/freetype-config
+               ;;
        *)
                export MACOSX_DEPLOYMENT_TARGET="$SW_VERSION"
                export LD_TWOLEVEL_NAMESPACE=true
                FREETYPE_CONFIG=$PREFIX/lib/freetype219/bin/freetype-config
                ;;
 esac
-
-LDFLAGS=""
 
 if [ -n "$USE_UNSERMAKE" ] && [ "$USE_UNSERMAKE" -gt 0 ]; then
        UNSERMAKEFLAGS=`perl -e '$ENV{MAKEFLAGS} =~ s/^.*?-j(\d+).*?$/-j1 
--compile-jobs=$1/; print $ENV{MAKEFLAGS}'`


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to