summaryrefslogtreecommitdiff
path: root/sysutils/findutils/patches/patch-aa
blob: 285d160279058d40851ae01cb9d2b1254d4cdfbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.6 2007/10/16 00:45:53 tnn Exp $

--- locate/Makefile.in.orig	2007-05-30 22:06:20.000000000 +0200
+++ locate/Makefile.in
@@ -434,7 +434,7 @@ install_sh = @install_sh@
 libdir = @libdir@
 libexecdir = @libexecdir@
 localedir = $(datadir)/locale
-localstatedir = @localstatedir@
+localstatedir = /var/run
 mandir = @mandir@
 mkdir_p = @mkdir_p@
 oldincludedir = @oldincludedir@
@@ -452,7 +452,7 @@ top_srcdir = @top_srcdir@
 
 # The default database to build and search.
 AUTOMAKE_OPTIONS = std-options
-LOCATE_DB = $(localstatedir)/locatedb
+LOCATE_DB = /var/db/locate.database
 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = frcode code bigram
 bin_SCRIPTS = updatedb
 man_MANS = locate.1 updatedb.1 locatedb.5