[vlc-devel] commit: contribs: remove non-working compilation support for OS X Tiger ( Felix Paul Kühne )

git version control git at videolan.org
Fri Feb 20 20:26:13 CET 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Feb 20 20:26:06 2009 +0100| [e4fa3e2f367910c1ead73c660fafdacfa054985a] | committer: Felix Paul Kühne 

contribs: remove non-working compilation support for OS X Tiger

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4fa3e2f367910c1ead73c660fafdacfa054985a
---

 extras/contrib/bootstrap |   34 ++++++++--------------------------
 1 files changed, 8 insertions(+), 26 deletions(-)

diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap
index 3b2bcec..3e41d47 100755
--- a/extras/contrib/bootstrap
+++ b/extras/contrib/bootstrap
@@ -109,38 +109,20 @@ esac
 
 case $HOST in
     ppc-darwin)
-# Mac OS X < 10.4
+        # Mac OS X < 10.4
         echo "Your version of Mac OS X is too old!" >&2
-        echo "Compiling VLC requires 10.4.x or later" >&2
+        echo "Compiling VLC requires 10.5.x or later" >&2
         exit 1
     ;;
     powerpc-apple-darwin8)
-# Mac OS X 10.4 or 10.5 with Xcode 2.5
-# Makefile cross compiling is only supported with gcc-4.0
-# ENVP defines the oldest environment on which the program will be able to run
-        SDK_TARGET=10.4
-        echo "SDK_TARGET = ${SDK_TARGET}" >> config.mak
-        echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
-        echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.4u.sdk" >> config.mak
-        CFLAGS_TUNING=" -arch ppc -mtune=G4"
-        EXTRA_CFLAGS=" -D\${ENVP} -mmacosx-version-min=\${SDK_TARGET}"
-        CC="gcc -isysroot \${MACOSX_SDK}"
-        CXX="g++ -isysroot \${MACOSX_SDK}"
-        LD="ld -arch ppc -syslibroot \${MACOSX_SDK}"
-        echo "PATH = /bin:/usr/bin:/usr/local/bin" >> config.mak
-        cat src/Distributions/darwin.mak >> distro.mak
+        echo "Your version of Mac OS X is too old!" >&2
+        echo "Compiling and running VLC requires 10.5.x or later" >&2
+        exit 1
     ;;
     i686-apple-darwin8)
-        SDK_TARGET=10.4
-        echo "SDK_TARGET = ${SDK_TARGET}" >> config.mak
-        echo "HAVE_DARWIN_OS_ON_INTEL = 1" >> config.mak
-        echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
-        echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.4u.sdk" >> config.mak
-        CFLAGS_TUNING=" -march=pentium-m -mtune=prescott"
-        EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK} -mmacosx-version-min=\${SDK_TARGET}"
-        EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
-        echo "PATH = /bin:/usr/bin:/usr/local/bin" >> config.mak
-        cat src/Distributions/darwin.mak >> distro.mak
+        echo "Your version of Mac OS X is too old!" >&2
+        echo "Compiling and running VLC requires 10.5.x or later" >&2
+        exit 1
     ;;
     powerpc-apple-darwin9)
 # Mac OS X 10.5 with Xcode 3, specific rules apply




More information about the vlc-devel mailing list