pkgsrc-wip/man-db/patches/patch-ac
Jeremy C. Reed be840231b5 Use different distfile site (because old mirror was missing).
This changed the distname too.

Check for NetBSD instead of /usr/bin/nroff for depending
on groff.

Add patch-ad and set up Makefile to allow working with db4
(if is BDB_TYPE).

Honor --mandir configure option in patches/patch-ac
so can have custom man directory.
2004-05-21 07:27:32 +00:00

19 lines
800 B
Text

$NetBSD: patch-ac,v 1.2 2004/05/21 07:27:32 jeremy-c-reed Exp $
--- include/manconfig.h.in.orig 2003-04-19 14:40:32.000000000 -0700
+++ include/manconfig.h.in 2003-04-19 14:40:40.000000000 -0700
@@ -361,11 +361,11 @@
#define STRNEQ(a,b,d) (strncmp(a,b,d) == 0)
/* FSSTND directories */
-#define CAT_ROOT "/var/catman" /* required by fsstnd() */
-#define MAN_ROOT "/usr" /* required by fsstnd() */
+#define CAT_ROOT "@mandir@"
+#define MAN_ROOT "@prefix@"
/* FHS directories */
#define FHS_CAT_ROOT "/var/cache/man" /* required by fsstnd() */
-#define FHS_MAN_ROOT "/usr/share" /* required by fsstnd() */
+#define FHS_MAN_ROOT "@prefix@" /* required by fsstnd() */
/* some special database keys used for storing important info */
#define VER_KEY "$version$" /* version key */