[117006] trunk/dports/lang/gccxml-devel/Portfile
Ryan Schmidt
ryandesign at macports.org
Wed Feb 12 11:24:25 PST 2014
On Feb 12, 2014, at 12:13, mmoll at macports.org wrote:
> Revision
> 117006
> Author
> mmoll at macports.org
> Date
> 2014-02-12 10:13:18 -0800 (Wed, 12 Feb 2014)
> Log Message
>
> lang/gccxml-devel: after some more testing it turns out that neither gcc* nor clang* work, so just use llvm-gcc-4.2. Add llvm-gcc-4.2 as a runtime dependency since it gets invoked by gccxml.
> Modified Paths
>
> • trunk/dports/lang/gccxml-devel/Portfile
> +configure.compiler llvm-gcc-4.2
To my surprise, this works, even on Xcode 5. "configure.compiler llvm-gcc-4.2” means llvm-gcc42 provided by Xcode, but Xcode 5 and later doesn’t provide llvm-gcc42. The configure output on the buildbot and on my system shows that as long as llvm-gcc42 is installed, it finds the MacPorts version of llvm-gcc42 instead; I guess find_developer_tool also looks in ${prefix}.
> +# also need this compiler at runtime
> +depends_run-append bin:llvm-gcc-4.2:llvm-gcc42
You need a build dependency on that as well, to ensure llvm-gcc42 is installed before the build.
More information about the macports-dev
mailing list