This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Define vardbdir relative to prefix


On Fri, Jul 1, 2011 at 06:42, Andreas Schwab <schwab@redhat.com> wrote:
> +# Where to install data files which the programs modify
> +# while they run, and that pertain to one specific machine.
> +ifndef localstatedir
> +localstatedir = $(prefix)/var
> +endif
> +inst_localstatedir = $(install_root)$(localstatedir)
> +
> Â# Directory for the database files and Makefile for nss_db.
> Âifndef vardbdir
> -vardbdir = /var/db
> +vardbdir = $(localstatedir)/db

This doesn't work because the db files are always searched for in
/var/db.  This is why the Makefiles are as they are now.

What is the reason for this proposed change?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]