aboutsummaryrefslogtreecommitdiff
path: root/ports.mk
diff options
context:
space:
mode:
authorThierry Crozat2016-03-05 23:07:21 +0000
committerThierry Crozat2016-03-05 23:08:07 +0000
commit8f0f9daeb7625b06a0cdbc540340ee51f7ed9b9b (patch)
tree063b37bd1abd2386fff261528316a1dc4b6ef33c /ports.mk
parent716dcbc1d869c168e90eaf7f3cf33c60b9a2875e (diff)
downloadscummvm-rg350-8f0f9daeb7625b06a0cdbc540340ee51f7ed9b9b.tar.gz
scummvm-rg350-8f0f9daeb7625b06a0cdbc540340ee51f7ed9b9b.tar.bz2
scummvm-rg350-8f0f9daeb7625b06a0cdbc540340ee51f7ed9b9b.zip
BUILD: Use xcode-select to determine the path to the Xcode tools on OS X
We hardcoded the path as /Developer/Tools, but that path changed with more recent versions of Xcode. There is actually a command line tool to get this path, so use that. But also add an undocumented configure option to allow specifying the path manually.
Diffstat (limited to 'ports.mk')
-rw-r--r--ports.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports.mk b/ports.mk
index fa380846e1..bcdbe532d9 100644
--- a/ports.mk
+++ b/ports.mk
@@ -341,7 +341,7 @@ osxsnap: bundle
mkdir ScummVM-snapshot/doc/se
cp $(srcdir)/doc/se/LasMig ./ScummVM-snapshot/doc/se/LasMig
cp $(srcdir)/doc/se/Snabbstart ./ScummVM-snapshot/doc/se/Snabbstart
- /Developer/Tools/SetFile -t ttro -c ttxt ./ScummVM-snapshot/*
+ $(XCODETOOLSPATH)/SetFile -t ttro -c ttxt ./ScummVM-snapshot/*
xattr -w "com.apple.TextEncoding" "utf-8;134217984" ./ScummVM-snapshot/doc/cz/*
xattr -w "com.apple.TextEncoding" "utf-8;134217984" ./ScummVM-snapshot/doc/da/*
xattr -w "com.apple.TextEncoding" "utf-8;134217984" ./ScummVM-snapshot/doc/de/*
@@ -350,11 +350,11 @@ osxsnap: bundle
xattr -w "com.apple.TextEncoding" "utf-8;134217984" ./ScummVM-snapshot/doc/it/*
xattr -w "com.apple.TextEncoding" "utf-8;134217984" ./ScummVM-snapshot/doc/no-nb/*
xattr -w "com.apple.TextEncoding" "utf-8;134217984" ./ScummVM-snapshot/doc/se/*
- /Developer/Tools/CpMac -r $(bundle_name) ./ScummVM-snapshot/
+ $(XCODETOOLSPATH)/CpMac -r $(bundle_name) ./ScummVM-snapshot/
cp $(srcdir)/dists/macosx/DS_Store ./ScummVM-snapshot/.DS_Store
cp $(srcdir)/dists/macosx/background.jpg ./ScummVM-snapshot/background.jpg
- /Developer/Tools/SetFile -a V ./ScummVM-snapshot/.DS_Store
- /Developer/Tools/SetFile -a V ./ScummVM-snapshot/background.jpg
+ $(XCODETOOLSPATH)/SetFile -a V ./ScummVM-snapshot/.DS_Store
+ $(XCODETOOLSPATH)/SetFile -a V ./ScummVM-snapshot/background.jpg
hdiutil create -ov -format UDZO -imagekey zlib-level=9 -fs HFS+ \
-srcfolder ScummVM-snapshot \
-volname "ScummVM" \