r1418 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jul 6 14:58:41 EDT 2008


Author: icculus
Date: 2008-07-06 14:58:40 -0400 (Sun, 06 Jul 2008)
New Revision: 1418

Modified:
   trunk/make-macosx-ub.sh
Log:
Fixed TIGERHOST (it should apply to 10.5, too, or legacy binaries fail to
 link).


Modified: trunk/make-macosx-ub.sh
===================================================================
--- trunk/make-macosx-ub.sh	2008-07-06 18:32:41 UTC (rev 1417)
+++ trunk/make-macosx-ub.sh	2008-07-06 18:58:40 UTC (rev 1418)
@@ -37,7 +37,10 @@
 	echo "This script must be run from the ioquake3 build directory";
 fi
 
-TIGERHOST=`uname -r | grep ^8.`
+# We only care if we're >= 10.4, not if we're specifically Tiger.
+# "8" is the Darwin major kernel version.
+#TIGERHOST=`uname -r | grep ^8.`
+TIGERHOST=`uname -r |perl -w -p -e 's/\A(\d+)\..*\Z/$1/; $_ = (($_ >= 8) ? "1" : "0");'`
 
 # we want to use the oldest available SDK for max compatiblity
 unset PPC_CLIENT_SDK




More information about the quake3-commits mailing list