pkgsrc-Users archive

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

Re: Correct way to update bmake and bootstrap-mk-files?

--On 2008/03/29 16:49 -0700 walt <> wrote:

Whenever the bmake and bootstrap-mk-files packages need updating, the
automated process fails because both of those packages are needed to
do the update ==> chicken-and-egg problem.

You can update using binary package.
With USE_DESTDIR={full,yes}, binary packages are created without real installing.

Here are my fragment in /etc/mk.conf:
.if !empty(.CURDIR:M*/devel/bmake) || !empty(.CURDIR:M*/pkgtools/bootstrap-mk-files)
        ${MAKE} package USE_DESTDIR=YES
        ${MAKE} clean

"Of course I love NetBSD":-)
OBATA Akio /

Home | Main Index | Thread Index | Old Index