base: Update OS version detection.

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@111640 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Toby Peterson
2013-09-27 20:45:23 +00:00
parent 357834a38c
commit 89d90b70c4
3 changed files with 8 additions and 2 deletions
Vendored
+3
View File
@@ -511,6 +511,9 @@ AC_DEFUN([MP_UNIVERSAL_OPTIONS],[
if test "x$UNIVERSAL_ARCHS" = "x"; then
case "$MACOSX_VERSION" in
10.1[[0-9]]*)
UNIVERSAL_ARCHS="x86_64 i386"
;;
10.[[0-5]]*)
UNIVERSAL_ARCHS="i386 ppc"
;;
Vendored
+4 -1
View File
@@ -2949,7 +2949,7 @@ $as_echo "$MACOSX_VERSION" >&6; }
fi
case "$MACOSX_VERSION" in
10.0*|10.1*|10.2*|10.3*)
10.0*|10.1|10.1.*|10.2*|10.3*)
as_fn_error $? "This version of Mac OS X is not supported
Please upgrade at http://store.apple.com/" "$LINENO" 5
;;
@@ -8125,6 +8125,9 @@ fi
if test "x$UNIVERSAL_ARCHS" = "x"; then
case "$MACOSX_VERSION" in
10.1[0-9]*)
UNIVERSAL_ARCHS="x86_64 i386"
;;
10.[0-5]*)
UNIVERSAL_ARCHS="i386 ppc"
;;
+1 -1
View File
@@ -28,7 +28,7 @@ if test "x$SW_VERS" != "x"; then
fi
case "$MACOSX_VERSION" in
10.0*|10.1*|10.2*|10.3*)
10.0*|10.1|10.1.*|10.2*|10.3*)
AC_MSG_ERROR([This version of Mac OS X is not supported
Please upgrade at http://store.apple.com/])
;;