$OpenBSD: patch-wscript,v 1.24 2012/10/22 21:18:59 landry Exp $

Fix paths to config files.

--- wscript.orig	Wed Sep 19 23:17:43 2012
+++ wscript	Mon Oct 22 23:15:43 2012
@@ -73,7 +73,7 @@ def rc_file(self, node):
     self.compiled_tasks.append (rctask)
 rc_file = extension ('.rc')(rc_file)
 Task.simple_task_type ('winrc', '${WINRC} -o${TGT} ${SRC}', color='BLUE',
-    before='cc cxx', shell=False)
+    before='cc cxx')
 
 def configure (conf):
     def option_checkfatal (option, desc):
@@ -237,7 +237,6 @@ def configure (conf):
         granite = 'no '
         conf.define ('GRANITE_VERSION', 'No')
 
-    check_pkg ('zeitgeist-1.0', '0.3.14', mandatory=False)
     conf.check (lib='m', mandatory=True)
     check_pkg ('gmodule-2.0', '2.8.0', False)
     check_pkg ('gthread-2.0', '2.8.0', False)
@@ -485,7 +484,7 @@ def build (bld):
             'AUTHORS COPYING ChangeLog EXPAT README data/faq.html data/faq.css')
 
     # Install default configuration
-    bld.install_files ('${SYSCONFDIR}/xdg/' + APPNAME + '/', 'data/search')
+    bld.install_files ('${MDATADIR}/examples/' + APPNAME + '/', 'data/search')
 
     if bld.env['INTLTOOL']:
         obj = bld.new_task_gen ('intltool_po')
@@ -554,7 +553,7 @@ def build (bld):
             for extension in extensions:
                 source = 'data/extensions/' + extension +  '/config'
                 if os.path.exists (source):
-                    bld.install_files ('${SYSCONFDIR}/xdg/' + APPNAME + \
+                    bld.install_files ('${MDATADIR}/examples/' + APPNAME + \
                                        '/extensions/' + extension, source)
 
     if Options.commands['check'] or bld.env['tests']:
