diff options
author | jperkin <jperkin@pkgsrc.org> | 2022-11-03 08:26:10 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2022-11-03 08:26:10 +0000 |
commit | 7d057f4cc13f29105e09122222911f6fd98ff3dd (patch) | |
tree | 030d1170f8637704244b650ab6efa2a8df48f53c | |
parent | b38130ba927a32f54ca1e5e3fbcfea98e8c387e3 (diff) | |
download | pkgsrc-7d057f4cc13f29105e09122222911f6fd98ff3dd.tar.gz |
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.
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 20e500b48d9..d4efac13fc1 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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+= LINKER_RPATH_FLAG=${LINKER_RPATH_FLAG:Q} 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. |