Potential problem with small subset of Cocoa ports on Xcode 10

Perry E. Metzger pmetzger at macports.org
Fri Sep 28 19:58:05 UTC 2018


On Fri, 28 Sep 2018 08:22:01 -0500 Marius Schamschula
<lists at schamschula.com> wrote:
> Perry,
> 
> I’ve just run into this problem with TeXShop4. The build phase
> succeeds, but destroot fails.
> 
> How does one revert to the “old” build system under Xcode 10?

Here's the kludge for a Portfile:

if {[vercmp ${xcodeversion} 10.0] >= 0} {
    destroot.pre_args   -UseNewBuildSystem=NO
}

Arguably, one should do "= 0" rather than ">=" since the bug may be
fixed in Xcode 10.whatever.

-- 
Perry E. Metzger		pmetzger at macports.org


More information about the macports-dev mailing list