$NetBSD: patch-aa,v 1.7 2011/11/16 19:56:36 drochner Exp $

--- wscript.orig	2011-11-10 23:21:06.000000000 +0000
+++ wscript
@@ -439,7 +439,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 ('${DESTDIR}${PREFIX}/share/examples/' + APPNAME + '/', 'data/search')
 
     if bld.env['INTLTOOL']:
         obj = bld.new_task_gen ('intltool_po')
@@ -511,7 +511,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 ('${DESTDIR}${PREFIX}/share/examples/' + APPNAME + \
                                        '/extensions/' + extension, source)
 
     if Options.commands['check'] or bld.env['tests']:
