Subject: Re: cc vs gcc in elm
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: tech-pkg
Date: 10/13/2002 00:09:10
On Sat, Oct 12, 2002 at 10:34:00PM +0200, Manuel Bouyer wrote:
>  
> @@ -21,9 +23,11 @@
>  	${SED} -e 's:PREFIX:'${PREFIX}':g' \
>  		${WRKSRC}/config.sh.orig > ${WRKSRC}/config.sh.tmp
>  	${SED} -e 's:LOCALBASE:'${LOCALBASE}':g' \
> -		${WRKSRC}/config.sh.tmp > ${WRKSRC}/config.sh
> +		${WRKSRC}/config.sh.tmp > ${WRKSRC}/config.sh.tmp2
> +	${SED} -e 's:@CC@:'${CC}':g' \

This needs to be 's:@CC@:'${BUILDLINK_CC}':g' if you really wish to
replace @CC@, but this shouldn't be necessary with buildlink2.  The
"cc" wrapper script will wrap ${CC}, which for pkgsrc is GNU cc.

	Cheers,

	-- Johnny Lam <jlam@netbsd.org>