Skip to content

Commit

Permalink
Explicitly unset CONFIG_SITE. Some Linux distributions like SuSE set it
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joerg committed Aug 26, 2016
1 parent 4138f45 commit 41d4abb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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.
#
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 41d4abb

Please sign in to comment.