Reset the current locale to a sane value (that is, 'C') during the build
of packages. Several utilities behave differently or even incorrectly if a locale different than 'C' is set. One of these is perl, which spits a big warning and then breaks some packages. An example is irssi, as described in PR pkg/29613 by Hanno Wagner.
This commit is contained in:
parent
0e4fd73d5b
commit
d5eb7630f4
1 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.pkg.mk,v 1.1600 2005/03/18 18:16:34 tv Exp $
|
||||
# $NetBSD: bsd.pkg.mk,v 1.1601 2005/03/20 18:18:09 jmmv Exp $
|
||||
#
|
||||
# This file is in the public domain.
|
||||
#
|
||||
|
@ -304,6 +304,13 @@ ALL_ENV+= COMPILER_RPATH_FLAG=${COMPILER_RPATH_FLAG:Q}
|
|||
ALL_ENV+= F77=${FC:Q}
|
||||
ALL_ENV+= FC=${FC:Q}
|
||||
ALL_ENV+= FFLAGS=${FFLAGS:Q}
|
||||
ALL_ENV+= LANG=C
|
||||
ALL_ENV+= LC_COLLATE=C
|
||||
ALL_ENV+= LC_CTYPE=C
|
||||
ALL_ENV+= LC_MESSAGES=C
|
||||
ALL_ENV+= LC_MONETARY=C
|
||||
ALL_ENV+= LC_NUMERIC=C
|
||||
ALL_ENV+= LC_TIME=C
|
||||
ALL_ENV+= LDFLAGS=${LDFLAGS:Q}
|
||||
ALL_ENV+= LINKER_RPATH_FLAG=${LINKER_RPATH_FLAG:Q}
|
||||
ALL_ENV+= PATH=${PATH:Q}:${LOCALBASE}/bin:${X11BASE}/bin
|
||||
|
|
Loading…
Reference in a new issue