tech-pkg archive

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

Re: Defaults for PKGSRCDIR and MAKECONF in pkg_chk and other tools



On Sat, 26 Apr 2008, Alan Barrett wrote:

pkgsrc itself automatically detects the root of the pkgsrc tree, by
looking for mk/bsd.pkg.mk in ".", "..", and "../..".  However, tools
such as pkg_chk, pkg_rolling-replace, or lintpkgsrc, do not do that;
they require PKGSRCDIR to be set in the environment (or on the command
line, for some tools), failing which they default to /usr/pkgsrc.

        I'm happy to have the pkg_chk logic updated as you propose,
        thanks.


--
                David/absolute       -- www.NetBSD.org: No hype required --


Home | Main Index | Thread Index | Old Index