tech-pkg archive

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

Re: pbulk cyclic dependency



> PKG_INFO_CMD?=                ${PKG_TOOLS_BIN}/pkg_info
>
> and PKG_TOOLS_BIN I think defaults to LOCALBASE = /usr/pkg.

Nope.

platform/NetBSD.mk

contains

PKG_TOOLS_BIN_cmd=      if [ -x ${LOCALBASE}/sbin/pkg_info ]; then echo ${LOCALBASE}/sbin; else echo /usr/sbin; fi
PKG_TOOLS_BIN?=         ${PKG_TOOLS_BIN_cmd:sh}

so it *should* auto-detect either the pkg (if installed) or the
/usr/sbin version.

> PKGTOOLS_REQD is either
>
> ./pkgformat/pkg/pkgformat-vars.mk:PKGTOOLS_REQD=                20191008
> ./pkgformat/pkg/pkgformat-vars.mk:PKGTOOLS_REQD=                20100914

And in my case, /usr/sbin/pkg_info is version 20190405.

So ... just to be safe, I've now also updated the /usr/sbin
version.  Crossing fingers this time...

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index