NetBSD-Users archive

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

Re: Git pkgsrc - setting file locations



On Wed, 15 Jul 2020, Greg A. Woods wrote:

These are my relevant hacks which I make directly to pkgsrc/mk/defaults/mk.conf:

PKGMAKECONF = /etc/mk.conf
PKGSRC_MAKE_ENV +=	USER=${USER:Q}
WRKOBJDIR ?=	/var/package-obj/${USER}
DISTDIR ?=	/var/package-distfiles
PACKAGES ?=	/var/packages/${USER}/${OPSYS}/${OS_VERSION:C/9.0.*/9.0/:C/9.99..*/9.99/}/${MACHINE_ARCH}

Okay, I think I can wrap my brain around those.

I may slow-walk my adoption of these others. I am in my current fix because I played fast and loose with /etc/mk.conf without understanding the full implications of the changes I was making. Always looking for quick 'n dirty...but enough already with my moralizing.

Thank you Greg@

--
 A test of right and wrong must be the means, one would
 think, of ascertaining what is right or wrong, and not a
 consequence of having already ascertained it.

                                  J. S. Mill


Home | Main Index | Thread Index | Old Index