pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk mk: Support PKGSRC_CONFIG_SITE.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b33638205949
branches:  trunk
changeset: 387640:b33638205949
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Nov 03 08:26:10 2022 +0000

description:
mk: Support PKGSRC_CONFIG_SITE.

Allows users to specify a suitably sanitised and tested CONFIG_SITE file, while
retaining the default behaviour of ignoring CONFIG_SITE to avoid surprises.

diffstat:

 mk/bsd.pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 59785395066f -r b33638205949 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Thu Nov 03 07:50:35 2022 +0000
+++ b/mk/bsd.pkg.mk     Thu Nov 03 08:26:10 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.2041 2022/07/31 19:16:33 wiz Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.2042 2022/11/03 08:26:10 jperkin Exp $
 #
 # This file is in the public domain.
 #
@@ -182,7 +182,7 @@
 ALL_ENV+=      PATH=${PATH:Q}:${LOCALBASE}/bin:${X11BASE}/bin
 ALL_ENV+=      PREFIX=${PREFIX}
 ALL_ENV+=      MAKELEVEL=0
-ALL_ENV+=      CONFIG_SITE=
+ALL_ENV+=      CONFIG_SITE=${PKGSRC_CONFIG_SITE:U}
 
 # This variable can be added to MAKE_ENV to ease installation of packages
 # that use BSD-style Makefiles.



Home | Main Index | Thread Index | Old Index