pkgsrc/www/Mosaic/patches/patch-ap
tron 11e1c3c32c Search for various optional configuration and data files in "${PREFIX}"
instead of "/usr/local". Fixes PR pkg/7698 by Jon Buller.
1999-06-07 21:40:20 +00:00

22 lines
677 B
Text

$NetBSD: patch-ap,v 1.1 1999/06/07 21:40:20 tron Exp $
--- src/mosaic.h.orig Fri Jun 28 06:23:54 1996
+++ src/mosaic.h Mon Jun 7 23:02:35 1999
@@ -170,14 +170,14 @@
#ifndef DOCUMENTS_MENU_SPECFILE
#define DOCUMENTS_MENU_SPECFILE \
- "/usr/local/lib/mosaic/documents.menu"
+ PREFIX "/share/mosaic/documents.menu"
#endif /* not DOCUMENTS_MENU_SPECFILE */
#ifndef GLOBAL_EXTENSION_MAP
-#define GLOBAL_EXTENSION_MAP "/usr/local/lib/mosaic/mime.types"
+#define GLOBAL_EXTENSION_MAP PREFIX "/lib/mosaic/mime.types"
#endif
#ifndef GLOBAL_TYPE_MAP
-#define GLOBAL_TYPE_MAP "/usr/local/lib/mosaic/mailcap"
+#define GLOBAL_TYPE_MAP PREFIX "/lib/mosaic/mailcap"
#endif