summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjoerg <joerg>2016-08-26 16:51:56 +0000
committerjoerg <joerg>2016-08-26 16:51:56 +0000
commitedf7fd4fbe647be2addc7b7b2150e2c74530f86c (patch)
tree747d1dd9dd26663ae87bccdf47c5d3decf9c5cf6 /mk/bsd.pkg.mk
parentf689cb13a0470b98d03d296647c309a4090acfae (diff)
downloadpkgsrc-edf7fd4fbe647be2addc7b7b2150e2c74530f86c.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/bsd.pkg.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.