Subject: Re: pkg/7158
To: None <netbsd-bugs@netbsd.org>
From: Christoph Badura <bad@ora.de>
List: netbsd-bugs
Date: 04/08/1999 22:42:36
>(It might be a "bug" that the bsd.pkg.mk rules don't automatically run
>the INSTALL script on your behalf, but they don't at the moment so any
>use of an INSTALL script must be mimicked, or duplicated, in the pkg
>Makefile, as I've done.  That would be a separate PR though!  ;-)

Why don't you call the INSTALL script from the post-install rule, with
the correct environment.  That way, you don't duplicate the code.

The squid pkg does that, IIRC.
-- 
Christoph Badura					www.netbsd.org

	Anything that can be done in O(N) can be done in O(N^2).
	-- Ralf Schuettau (after looking at a particular piece of code)