pkgsrc-Users archive

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

Re: mk.conf error from pkg_chk (Was: openjdk21 build errors)



On Wed, Jan 29, 2025 at 12:25:44AM +0100, Roland Illig wrote:
> Once you have pkgsrc source and pkgsrc binary set up, chances are low
> that one of them moves to a different location.

I disagree. pkg_chk is a simple shell script and you can easily copy it
over to a new (empty) machine's /tmp and have it install the binary
pkgs you want (/tmp/pkg_chk -ab) from a binary pkg repo. It will then
install the proper pkg_chk version too.

So the autodetect is uncommon but kind of usefull.

On the other hand, at least on NetBSD, /etc/mk.conf is used outside of
pkgsrc, and it is easy to write it in a way that properly deals with
both kinds of invocation.

Martin


Home | Main Index | Thread Index | Old Index