Subject: Re: Adding a 'USE_CPUFLAGS' variable to pkgsrc (pkg/24811)
To: None <abs@absd.org>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 06/20/2004 16:05:26
On Sun, 20 Jun 2004 abs@absd.org wrote:
> Currently cpuflags.mk (from decel/cpuflags) can be included
> from mk.conf. Unfortunately this include occurs before
> pkgsrc pulls in compiler.mk. In order to correctly detect
> the compiler in use cpuflags.mk would need to be included
> after compiler.mk. 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 cpuflags.mk included
> after compiler.mk.
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 <tv@duh.org> <tv@pobox.com>