From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27104 invoked by alias); 1 Jul 2011 23:29:37 -0000 Received: (qmail 27088 invoked by uid 22791); 1 Jul 2011 23:29:37 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_DB,TW_FN X-Spam-Check-By: sourceware.org Received: from mail-qy0-f176.google.com (HELO mail-qy0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Jul 2011 23:29:20 +0000 Received: by qyk4 with SMTP id 4so2618608qyk.0 for ; Fri, 01 Jul 2011 16:29:20 -0700 (PDT) Received: by 10.229.78.22 with SMTP id i22mr3080214qck.33.1309562960154; Fri, 01 Jul 2011 16:29:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.75.4 with HTTP; Fri, 1 Jul 2011 16:29:00 -0700 (PDT) In-Reply-To: References: From: Ulrich Drepper Date: Fri, 01 Jul 2011 23:29:00 -0000 Message-ID: Subject: Re: [PATCH] Define vardbdir relative to prefix To: Andreas Schwab Cc: libc-hacker@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00002.txt.bz2 On Fri, Jul 1, 2011 at 06:42, Andreas Schwab wrote: > +# Where to install data files which the programs modify > +# while they run, and that pertain to one specific machine. > +ifndef localstatedir > +localstatedir =3D $(prefix)/var > +endif > +inst_localstatedir =3D $(install_root)$(localstatedir) > + > =C2=A0# Directory for the database files and Makefile for nss_db. > =C2=A0ifndef vardbdir > -vardbdir =3D /var/db > +vardbdir =3D $(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?