tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: easy way to know custom options were used?



On Fri, 25 Sep 2009, Larson, Timothy E. wrote:

> > _BUILD_DEFS+=       PKG_SUGGESTED_OPTIONS
> 
> I think this is a fabulous idea.  Recording suggested and actual 
> options used at time of package creation could be very helpful.

The reason I was looking at this is I want a package installation tool 
to warn if the PKG_OPTIONS doesn't match the PKG_SUGGESTED_OPTIONS of an 
existing installed package if requested to "update" it. In other words: 
warn if replacing a custom package. I can't be too specific since there 
is no easy way to know if the option names had changed and newer package 
may provide the same features even if options changed.

I realize I had posted a similar email about this earlier this year too:
http://mail-index.netbsd.org/tech-pkg/2009/02/25/msg002722.html


Home | Main Index | Thread Index | Old Index