You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
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:
Vendored
+3
@@ -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"
|
||||
;;
|
||||
|
||||
@@ -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
@@ -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/])
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user