Subject: Re: Adding a 'USE_CPUFLAGS' variable to pkgsrc (pkg/24811)
To: None <>
From: Todd Vierling <>
List: tech-pkg
Date: 06/20/2004 16:05:26
On Sun, 20 Jun 2004 wrote:

> 	Currently (from decel/cpuflags) can be included
> 	from mk.conf. Unfortunately this include occurs before
> 	pkgsrc pulls in In order to correctly detect
> 	the compiler in use would need to be included
> 	after The only obvious way I can see for this
> 	to happen would be to add a USE_CPUFLAGS option which would
> 	cause cpuflags to be built and then included
> 	after

That sounds good.  Even better if the USE_CPUFLAGS causes a BUILD_DEPENDS on
devel/cpuflags -- then the whole shebang would be automated.

(You'd need to put in exceptions in a few cases, such as when building
cpuflags itself.)

-- Todd Vierling <> <>