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 <wa1ter%myrealbox.com@localhost> 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)
update:
${MAKE} package USE_DESTDIR=YES
${MAKE} bin-install BIN_INSTALL_FLAGS="-uf" _BIN_INSTALL_PREPARE_CMD=""
pkg_path=${PKGREPOSITORY:Q}
${MAKE} clean
.fi
--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index