about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-06-22 10:11:07 -0700
committerRoland McGrath <roland@hack.frob.com>2012-06-22 10:11:07 -0700
commit4248b1b1cf8c641fb51d92c3d2cfac81b02a903e (patch)
tree7be1c86dab37ceca90a5427e71d4735b713d7886 /Makeconfig
parent116a106aaf21065d3a9c62b38ad84fc60133a135 (diff)
downloadglibc-4248b1b1cf8c641fb51d92c3d2cfac81b02a903e.tar.gz
glibc-4248b1b1cf8c641fb51d92c3d2cfac81b02a903e.tar.xz
glibc-4248b1b1cf8c641fb51d92c3d2cfac81b02a903e.zip
Respect --localstatedir for /var/db parent directory.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index cba5db7d23..417fa508a6 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -287,7 +287,7 @@ inst_sysconfdir = $(install_root)$(sysconfdir)
 
 # Directory for the database files and Makefile for nss_db.
 ifndef vardbdir
-vardbdir = /var/db
+vardbdir = $(localstatedir)/db
 endif
 inst_vardbdir = $(install_root)$(vardbdir)