tech-install archive

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

Re: RFC: move md_init() in sysinst

On Fri, Mar 08, 2013 at 11:51:39PM -0700, Tim Rightnour wrote:
> I certainly could.  It just seems silly to add another hook that nobody will
> use except one port, to avoid changing the semantics of a hook that nobody 
> uses
> at all.  I'm willing to do it, but it just seems like a messy waste.
> (I'd object to the ifdef though, as that would be considerably different than
> every other hook, and very non-obvious to other portmasters trying to enhance
> sysinst)

Maybe change all the hooks so that the main program has a weak definition.
Then none of the MD bits need any code for the unsupported hooks.
That would cut out the number of false-positives when grepping to
see where there are used.


David Laight:

Home | Main Index | Thread Index | Old Index