Subject: Re: standalone-tcsh LOCALBASE=/ breaks gcc3 compilation
To: None <abs@mono.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 09/19/2003 09:03:26
On Thu, Sep 18, 2003 at 05:53:10PM +0100, abs@mono.org wrote:

> 	More correctly it breaks compilation with gcc3 or any other
> 	compiler from pkgsrc.
> 
> 	The configure breaks, with config.log containing:
> 
> configure:914: checking whether the C compiler (gcc -O2 -march=pentiumpro-finli
> ne-functions -ffast-math -fomit-frame-pointer -pipe -I/usr/pkg/include -L/usr/p
> kg/lib -Wl,-R/usr/pkg/lib -static) works
> configure:930: gcc -o conftest -O2 -march=pentiumpro -finline-functions -ffast-m
> ath -fomit-frame-pointer -pipe -I/usr/pkg/include   -I/usr/pkg/include  -L/usr/p
> kg/lib -Wl,-R/usr/pkg/lib -static conftest.c  1>&5
> exec: //gcc-3.3/bin/gcc: not found
> 
> 	Something is obviously a little over enthusiastic with substituting
> 	in / for /usr/pkg !

right, it was overriding LOCALBASE, but should be overriding PREFIX
instead.

I've fixed it now, and another unrelated problem with the {de,}install
scripts which would mistakenly remove "/usr/pkg/bin/tcsh" when
removing the standalone-tcsh package. :)

thanks.

g.