c5eaa10696
* List info files directly in the PLIST. * Don't install the catman pages at all to fix PLIST problems. Bump the PKGREVISION to 6.
53 lines
1.7 KiB
Text
53 lines
1.7 KiB
Text
$NetBSD: patch-aa,v 1.5 2006/03/20 18:05:22 jlam Exp $
|
|
|
|
--- locate/Makefile.in.orig 1994-11-05 09:44:08.000000000 -0500
|
|
+++ locate/Makefile.in
|
|
@@ -29,7 +29,7 @@ libexecdir = $(exec_prefix)/libexec
|
|
datadir = $(prefix)/share
|
|
sysconfdir = $(prefix)/etc
|
|
sharedstatedir = $(prefix)/com
|
|
-localstatedir = $(prefix)/var
|
|
+localstatedir = /var/run
|
|
libdir = $(exec_prefix)/lib
|
|
infodir = $(prefix)/info
|
|
mandir = $(prefix)/man
|
|
@@ -38,6 +38,7 @@ oldincludedir = /usr/include
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
transform = @program_transform_name@
|
|
|
|
@@ -68,7 +69,7 @@ DIST_CONF = Makefile.am Makefile.in
|
|
DIST_FILES = $(DIST_CONF) $(SOURCES) $(TEXINFOS) $(INFOS) $(MANS) $(DIST_OTHER)
|
|
|
|
# The default database to build and search.
|
|
-LOCATE_DB = $(localstatedir)/locatedb
|
|
+LOCATE_DB = /var/db/locate.database
|
|
|
|
PROGRAMS = locate
|
|
LIBPROGRAMS = frcode code bigram
|
|
@@ -96,9 +97,12 @@ install:: install-programs
|
|
|
|
install-programs: $(PROGRAMS) $(SCRIPTS)
|
|
$(top_srcdir)/mkinstalldirs $(bindir)
|
|
- for p in $(PROGRAMS) $(SCRIPTS); do \
|
|
+ for p in $(PROGRAMS); do \
|
|
$(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
done
|
|
+ for p in $(SCRIPTS); do \
|
|
+ $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
+ done
|
|
|
|
uninstall:: uninstall-programs
|
|
|
|
@@ -145,7 +149,7 @@ install-man:
|
|
echo installing $$man as $$mdir/$$inst; \
|
|
$(INSTALL_DATA) $(srcdir)/$$man $$mdir/$$inst; \
|
|
cdir=$(mandir)/cat$$sect; \
|
|
- if test -d $$cdir; then \
|
|
+ if false && test -d $$cdir; then \
|
|
echo formatting $$man as $$cdir/$$inst; \
|
|
$(NROFF) -man $(srcdir)/$$man > $$cdir/$$inst; \
|
|
fi; \
|