[ioquake3] 08/33: Fix minimum macOS version not being set in AppBundle Info.plist
Simon McVittie
smcv at debian.org
Mon Oct 30 14:00:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian/master
in repository ioquake3.
commit c04cf19b77db5f95ffa633e77f8aa281edc92814
Author: Zack Middleton <zack at cloemail.com>
Date: Thu Sep 14 16:49:30 2017 -0500
Fix minimum macOS version not being set in AppBundle Info.plist
make-macosx-app.sh reads MACOSX_DEPLOYMENT_TARGET variable but
it wasn't ever set.
---
make-macosx-ub.sh | 1 +
make-macosx.sh | 3 +++
2 files changed, 4 insertions(+)
diff --git a/make-macosx-ub.sh b/make-macosx-ub.sh
index 6702ea9..f359824 100755
--- a/make-macosx-ub.sh
+++ b/make-macosx-ub.sh
@@ -88,4 +88,5 @@ echo;echo
echo
# use the following shell script to build a universal application bundle
+export MACOSX_DEPLOYMENT_TARGET="10.5"
"./make-macosx-app.sh" release
diff --git a/make-macosx.sh b/make-macosx.sh
index 91fecf1..387fe64 100755
--- a/make-macosx.sh
+++ b/make-macosx.sh
@@ -47,6 +47,8 @@ if [ -d /Developer/SDKs/MacOSX10.5.sdk ]; then
ARCH_SDK=/Developer/SDKs/MacOSX10.5.sdk
ARCH_CFLAGS="-isysroot /Developer/SDKs/MacOSX10.5.sdk"
ARCH_MACOSX_VERSION_MIN="10.5"
+else
+ ARCH_MACOSX_VERSION_MIN="10.7"
fi
@@ -68,4 +70,5 @@ NCPU=`sysctl -n hw.ncpu`
(ARCH=${BUILDARCH} CFLAGS=$ARCH_CFLAGS MACOSX_VERSION_MIN=$ARCH_MACOSX_VERSION_MIN make -j$NCPU) || exit 1;
# use the following shell script to build an application bundle
+export MACOSX_DEPLOYMENT_TARGET="${ARCH_MACOSX_VERSION_MIN}"
"./make-macosx-app.sh" release ${BUILDARCH}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git
More information about the Pkg-games-commits
mailing list