aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/named/Makefile.inc
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-03-02 16:52:14 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-03-02 16:52:14 +0000
commitafcf05e46aacbe58f9fd8338ab6ecf9b7d06d004 (patch)
tree4d1655d724be575f060459c555ab30a5630ec3e9 /usr.sbin/named/Makefile.inc
parent7a6be913664526370f69f43e340b7ed33f20ea8f (diff)
downloadsrc-afcf05e46aacbe58f9fd8338ab6ecf9b7d06d004.tar.gz
src-afcf05e46aacbe58f9fd8338ab6ecf9b7d06d004.zip
setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
Notes
Notes: svn path=/head/; revision=73349
Diffstat (limited to 'usr.sbin/named/Makefile.inc')
-rw-r--r--usr.sbin/named/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/named/Makefile.inc b/usr.sbin/named/Makefile.inc
index cbebbcbb393a..27b8c40aab66 100644
--- a/usr.sbin/named/Makefile.inc
+++ b/usr.sbin/named/Makefile.inc
@@ -39,7 +39,7 @@ CLEANFILES+= tmp_version.c pathnames.h
CFLAGS+= -I.
tmp_version.c: version.c ${BIND_DIR}/Version
- (u=$${USER-root} d=`pwd` h=`hostname` t=`LC_TIME=C date`; \
+ (u=$${USER-root} d=`pwd` h=`hostname` t=`LC_ALL=C date`; \
sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
< ${BIND_DIR}/bin/named/version.c > tmp_version.c)