From 0a481916e940c97ca2e8df1f9108861623f22bb1 Mon Sep 17 00:00:00 2001 From: jperkin Date: Thu, 6 Dec 2012 11:36:30 +0000 Subject: Introduce PKGGNUDIR as a way to control gnu prefix. By default pkgsrc uses LOCABASE/gnu as a prefix for packages to install native versions of GNU tools, which are them symbolically linked back to the 'g' versions of the files in LOCALBASE, and users can then add LOCALBASE/gnu/bin to PATH to pick up those tools. On systems where the GNU environment is desired, PKGGNUDIR now allows users to install the non-'g' files directly into LOCALBASE, making them the default without having to alter PATH, whilst retaining the 'g' files in order to ensure dependencies and tool paths remain the same. --- mk/bsd.pkg.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk/bsd.pkg.mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 15944e01deb..c0a5e6d2d62 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1982 2012/07/18 12:29:12 obache Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1983 2012/12/06 11:36:30 jperkin Exp $ # # This file is in the public domain. # @@ -194,6 +194,7 @@ BSD_MAKE_ENV+= MKHTML=no _BUILD_DEFS= ${BUILD_DEFS} _BUILD_DEFS+= LOCALBASE +_BUILD_DEFS+= PKGGNUDIR _BUILD_DEFS+= PKGINFODIR _BUILD_DEFS+= PKGMANDIR _BUILD_DEFS+= _USE_DESTDIR -- cgit v1.2.3