#48403: clang-3.7 3.7-r241984: build failed fatal error: 'mach/x86_64/task.h' file not found when xcode-4.x on mountain lion ---------------------------+-------------------------------- Reporter: h.rayflood@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: clang-3.7 | ---------------------------+-------------------------------- Comment (by h.rayflood@…): xcode-4.x don't have <mach/x86_64/task.h>. but iossim is targeting to x86_64.[[BR]] so we should avoid to build iossim when xcode-4.x on mountain lion.[[BR]] in r138590: {{{ Index: trunk/dports/lang/llvm-3.7/Portfile =================================================================== --- a/trunk/dports/lang/llvm-3.7/Portfile +++ b/trunk/dports/lang/llvm-3.7/Portfile @@ -232,5 +232,5 @@ } - if {${subport} eq "clang-${llvm_version}" && ${os.major} <= 10} { + if {${subport} eq "clang-${llvm_version}" && ${os.major} <= 11} { patchfiles-append leopard-no-asan.patch } }}} this probrem depends on xcodeversion, '''not os.major'''. -- Ticket URL: <https://trac.macports.org/ticket/48403#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X