On Wed, Nov 10, 2010 at 12:18 PM, Garrett Cooper <gcoo...@freebsd.org> wrote:
> On Wed, Nov 10, 2010 at 11:42 AM, Andriy Gapon <a...@freebsd.org> wrote:
>> on 10/11/2010 21:08 Andriy Gapon said the following:
>>> on 10/11/2010 20:26 Sergey Kandaurov said the following:
>>>> Hi.
>>>> If I understood you correctly, then you need
>>>> PORTS_MODULES set in /etc/make.conf.
>>>
>>> It was a long time ago when I tried it last time, but I remember having 
>>> problems
>>> with it during upgrades.
>>
>> I think this is what it was/is.
>> If a port in PORTS_MODULES has dependencies, then buildkernel would try to 
>> install
>> those dependencies even if they are already installed.  And that, obviously, 
>> would
>> fail.
>
> Didn't know about this knob -- cool!
>
> And FWIW, all it does is a:
>
> all
> install: deinstall reinstall (huh?)
> reinstall: deinstall reinstall (huh?)
> clean
>
> Seems like it should be:
>
> clean
> all
> [deinstall]
> install
> clean
>
> or:
>
> clean
> all
> install -DFORCE_PKG_REGISTER
> clean
>
> the first clean is just in case the PORTSWORKDIR is dirty.

And FWIW an even better idea might be to align the port with the
process in use, i.e.

clean (i.e. NO_CLEAN, KERNFAST, etc not specified) ->
[${PORTSDIR}/${PORT}] clean
buildkernel -> [${PORTSDIR}/${PORT}] all
installkernel -> [${PORTSDIR}/${PORT}] deinstall install

*shrugs*
-Garrett
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to