summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-08-26 16:51:56 +0000
committerjoerg <joerg@pkgsrc.org>2016-08-26 16:51:56 +0000
commitefa00b526f19046ac0a2c74f1ed3a123a68e1605 (patch)
tree5cb56b5fde5e2b37f51d35247c1182769e213ae1 /mk
parentc951598a67b5529bb3f0b6ab0f9231ebfa83ac40 (diff)
downloadpkgsrc-efa00b526f19046ac0a2c74f1ed3a123a68e1605.tar.gz
Explicitly unset CONFIG_SITE. Some Linux distributions like SuSE set it
in the default environment and provide a config.site overriding the default libdir settings. This breaks havoc with our PLISTs and expected library paths, so kill it.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 007b0ec3a46..d4e4e916aa4 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.2020 2016/06/11 12:41:30 rillig Exp $
+# $NetBSD: bsd.pkg.mk,v 1.2021 2016/08/26 16:51:56 joerg Exp $
#
# This file is in the public domain.
#
@@ -180,6 +180,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=
# This variable can be added to MAKE_ENV to ease installation of packages
# that use BSD-style Makefiles.