tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

"PKGSRC_COMPILER" setting is not working



        Hello,

it seems to me that the "PKGSRC_COMPILER" setting is not working:

1.) "clang" is really accepted as the compiler:

tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>bmake PKGSRC_COMPILER=clang 
VARNAME=_COMPILER show-var 
clang

2.) But "CC" still points to "gcc".

tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>bmake PKGSRC_COMPILER=clang 
VARNAME=CC show-var
gcc

3.) And the wrappers don't fix that either:

tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>bmake PKGSRC_COMPILER=clang 
configure 
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Checking for vulnerabilities in ttcp-1.12nb2
=> Checksum SHA1 OK for ttcp.tar.Z
=> Checksum RMD160 OK for ttcp.tar.Z
===> Installing dependencies for ttcp-1.12nb2
=> Build dependency checkperms>=1.1: found checkperms-1.11
===> Overriding tools for ttcp-1.12nb2
===> Extracting for ttcp-1.12nb2
===> Patching for ttcp-1.12nb2
=> Applying pkgsrc patches for ttcp-1.12nb2
===> Creating toolchain wrappers for ttcp-1.12nb2
===> Configuring for ttcp-1.12nb2
=> Checking for portability problems in extracted files
tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>/Users/tron/objdir/benchmarks/ttcp/work.excalibur/.wrapper/bin/cc
 --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Is this is bug or do I have to change more settings?

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index