pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Bootstrap fails with Mavericks
* On 2013-11-18 at 12:10 GMT, OBATA Akio wrote:
> On Mon, 18 Nov 2013 19:42:42 +0900, Jonathan Perkin
> <jperkin%joyent.com@localhost> wrote:
>
> >>Following change should be useful:
> >>
> >>Index: bootstrap
> >>===================================================================
> >>RCS file: /cvsroot/pkgsrc/bootstrap/bootstrap,v
> >>retrieving revision 1.200
> >>diff -u -r1.200 bootstrap
> >>--- bootstrap 3 Oct 2013 01:24:57 -0000 1.200
> >>+++ bootstrap 18 Nov 2013 02:30:58 -0000
> >>@@ -531,6 +531,7 @@
> >> ;;
> >> esac
> >> unset osrev macosx_version
> >>+ check_compiler=yes
> >> ;;
> >> DragonFly)
> >> root_group=wheel
> >>@@ -867,6 +868,9 @@
> >> compiler="gcc"
> >> else
> >> case "$opsys" in
> >>+ Darwin) compiler="clang"
> >>+ test -n "$CC" || CC=clang
> >>+ ;;
> >> IRIX)
> >> if [ `uname -r` -ge 6 ]; then
> >> compiler="mipspro"
> >
> >Please only do this for 10.9, otherwise looks good.
>
> Is there any way to detect default compiler on Mac?
What do you mean by default? GCC and clang have co-existed for quite
a long time now, so it depends on what the user prefers. The change
in 10.9 was that 'gcc' is now a link to clang, and there is no native
gcc any longer.
--
Jonathan Perkin - Joyent, Inc. - www.joyent.com
Home |
Main Index |
Thread Index |
Old Index