$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
