Subject: Re: making cpuflags ${PREFIX}-aware
To: Karl Hammerschmidt <stuffynose@earthlink.net>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 03/17/2004 00:29:23
	Looks good - it looks like the the patch has been mangled by
	your mailer's line wrapping :)

	Applies a very slight variation (skipped the do-extract) as
	cpuflags 0.63 - thanks!

-- 
		David/absolute          -- www.netbsd.org: No hype required --

On Sun, 14 Mar 2004, Karl Hammerschmidt wrote:

> I noticed that cpuflags doesn't work if ${LOCALBASE} is set to something
> other than /usr/pkg.
>
> It installs fine, but it still looks for it's files in /usr/pkg, and
> the man page
> gives the wrong locations.
>
> I was able to overcome both issues (on my system) with these changes:
>
> I changed the references to /usr/pkg in cpuflags.mk and cpuflags.1 to
> @PREFIX@, and I added a sed routine to the Makefile that finds all of
> the
> references to @PREFIX@ and replaces them with ${PREFIX}.
>
> I'd really like it if somebody would look at the diffs and tell me what
> they
> think.