Subject: Re: pkgtools/libnbcompat/ uses wrong CC
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 02/15/2005 11:47:19
I also see that CC is defined twice in my debug output. The second time is
from the CONFIGURE_ENV which is defined from the ALL_ENV which has the
wrong CC=gcc. (It should be CC=/usr/pkg/gcc3/bin/gcc/.)

loonquawl:/usr/pkgsrc/pkgtools/pkg_install$ grep ^CC /etc/mk.conf
CC=             /usr/pkg/gcc3/bin/gcc

loonquawl:/usr/pkgsrc/pkgtools/pkg_install$ /usr/pkg/bin/bmake show-var VARNAME=CC

loonquawl:/usr/pkgsrc/pkgtools/pkg_install$ /usr/pkg/bin/bmake show-var VARNAME=CONFIGURE_ENV | xargs -n 1 echo | grep ^CC

The CC above is correct, but when building libnbcompat, it is just

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links