Subject: Re: Curious deprecated option handling
To: Jeroen Ruigrok/asmodai <asmodai@in-nomine.org>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 09/04/2005 19:15:34
On Sun, Sep 04, 2005 at 08:26:03PM +0200, Jeroen Ruigrok/asmodai wrote:
> -On [20050904 12:35], Dieter Baron (dillo@danbala.tuwien.ac.at) wrote:
> >  True, but I think the effort is be better spent on converting the
> >remaining packages than improving the deprecation code (which will be
> >unused once all packages have been converted).
> 
> Reread my original post again since you missed what I said initially.  The
> pkgsrc INFRASTRUCTURE (pkgsrc/mk) is defining these, not the package.  Thus
> it will ALWAYS fail.  Try it for fun:
> 
> for file in `find /usr/pkgsrc -name options\.mk`
> do
> 	cd `dirname $file` && bmake show-options 2>&1 >> /tmp/options.log
> done
> 
> And then try to find said option mentioned in the pkg or its dependencies.

You're missing Dieter's point -- if we actually remove the deprecated
options from pkgsrc, then the pkgsrc/mk files can stop defining the
deprecated options and the problem is solved.

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>