- honor PKG_SYSCONFDIR not hard-coded to "/etc" and PKG_INSTALL frame work for a configuration file. - Install documents. Bump PKGREVISION.
16 lines
376 B
Text
16 lines
376 B
Text
$NetBSD: patch-aa,v 1.1 2006/08/17 14:02:23 taca Exp $
|
|
|
|
--- lib/arch/CArchFileUnix.cpp.orig 2005-04-24 12:02:12.000000000 +0900
|
|
+++ lib/arch/CArchFileUnix.cpp
|
|
@@ -80,7 +80,10 @@ CArchFileUnix::getUserDirectory()
|
|
std::string
|
|
CArchFileUnix::getSystemDirectory()
|
|
{
|
|
- return "/etc";
|
|
+#ifndef CONFIG_DIR
|
|
+#define CONFIG_DIR "/etc"
|
|
+#endif
|
|
+ return CONFIG_DIR;
|
|
}
|
|
|
|
std::string
|