Subject: Re: findutils also broken?
To: Johnny C.Lam <jlam@NetBSD.org>
From: Charlie Allom <charlie@rubberduck.com>
List: tech-pkg
Date: 02/13/2004 01:31:23
--Apple-Mail-19--495163846
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
On 12/02/2004, at 10:46 PM, Charlie Allom wrote:
>
> On 12/02/2004, at 9:25 PM, Johnny C. Lam wrote:
>
>> This should be fixed with bsd.pkg.mk revision 1.1388.
>>
>
> It is - but now it thinks cc is a cross compiler? I've always wondered
> how you get configure to say that. And now I want it back :(
>
> config.log has a lot of preprocessor output in it?
>
and .work.log (which i just discovered) has this
[*] /usr/obj/pkgsrc/sysutils/findutils/work.lazy/.buildlink/bin/cc -E
-I/usr/pkg/include conftest.c
<.> /usr/obj/pkgsrc/sysutils/findutils/work.lazy/.sunpro/bin/cc -E -E
-I/usr/obj/pkgsrc/sysutils/findutils/work.lazy/.buildlink/include
conftest.c
so I hack mk/compiler/sunpro.mk to remove the -E from PKG_CPP=
${_SUNPRO_CC} and all is well again. But, how to do this correctly?
Cheers,
C.
--
charlie@rubberduck.com - Melbourne, Australia
http://rubberduck.com/~yeled/
PGP: 0x14AA7941 || finger yeled@lazy.spodder.com
--Apple-Mail-19--495163846
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFAK448qiZDwhSqeUERAnEaAJ4r4BG0UNIAIHHpvmboADMV4lJuiQCfZ7xN
6wwlqWGUdYKzFCqjZ3BTgGw=
=JOJG
-----END PGP SIGNATURE-----
--Apple-Mail-19--495163846--