openbsd-ports/www/midori/patches/patch-wscript
landry 2bb215dd06 Update to midori 0.4.3, see
http://git.xfce.org/apps/midori/tree/ChangeLog for a list of improvements.
Repair install of config files under $SYSCONFDIR/xdg/midori/
If it doesn't start after update, wipe .cache/midori.
2011-12-24 07:47:23 +00:00

34 lines
1.3 KiB
Plaintext

$OpenBSD: patch-wscript,v 1.18 2011/12/24 07:47:23 landry Exp $
Fix paths to config files.
--- wscript.orig Sat Dec 17 23:47:28 2011
+++ wscript Sat Dec 24 07:53:38 2011
@@ -70,7 +70,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):
@@ -440,7 +440,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')
@@ -512,7 +512,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']: