[MacPorts] #57137: xcode portgroup should set -derivedDataPath on Xcode versions that need it
MacPorts
noreply at macports.org
Tue Oct 27 17:53:18 UTC 2020
#57137: xcode portgroup should set -derivedDataPath on Xcode versions that need it
----------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: xcode-1.0.tcl |
----------------------------+--------------------
Comment (by RJVB):
Replying to [comment:34 RJVB]:
> Is there a safe os.version to check to determine if
`-UseModernBuildSystem` is available or does one have to include the xcode
PG?
Apparently xcodebuild doesn't bail on unknown options?
On my OS X 10.9.5 where `xcodebuild --help` does NOT list the option:
{{{
:info:build mkdir -p ./tmp/modules/gui/macosx
:info:build cd "./modules/gui/macosx/" && cp *.h *.m /Volumes/VMs/MPbuild
/_Volumes_Debian_MP9_site-
ports_multimedia_VLC2/VLC2/work/vlc-2.2.8/tmp/modules/gui/macosx/
:info:build cd ./tmp/extras/package/macosx && \
:info:build xcodebuild -target vlc -UseModernBuildSystem=NO
SYMROOT=../../../build DSTROOT=../../../build
:info:build User defaults from command line:
:info:build UseModernBuildSystem = NO
:info:build Build settings from command line:
:info:build DSTROOT = ../../../build
:info:build SYMROOT = ../../../build
}}}
The build result is the same with and without the option, so it looks like
it can be added unconditionally?!
--
Ticket URL: <https://trac.macports.org/ticket/57137#comment:35>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list