pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Reset the current locale to a sane value (that is, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/17c752464bf7
branches: trunk
changeset: 490812:17c752464bf7
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Sun Mar 20 18:18:09 2005 +0000
description:
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.
diffstat:
mk/bsd.pkg.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 21e0ba7ab888 -r 17c752464bf7 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Sun Mar 20 17:52:55 2005 +0000
+++ b/mk/bsd.pkg.mk Sun Mar 20 18:18:09 2005 +0000
@@ -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+= 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
Home |
Main Index |
Thread Index |
Old Index