localstatedir is set to be the /var directory, so use it for the base of the vardbdir so it's properly relocatable. Upstream-Status: Pending Signed-off-by: Saul Wold Index: libc/Makeconfig =================================================================== --- libc.orig/Makeconfig +++ libc/Makeconfig @@ -293,7 +293,7 @@ inst_sysconfdir = $(install_root)$(sysco # Directory for the database files and Makefile for nss_db. ifndef vardbdir -vardbdir = /var/db +vardbdir = $(localstatedir)/db endif inst_vardbdir = $(install_root)$(vardbdir)