openbsd-ports/www/midori/patches/patch-wscript

25 lines
899 B
Plaintext

$OpenBSD: patch-wscript,v 1.17 2011/10/13 06:53:30 jasper Exp $
We don't need those files installed..
--- wscript.orig Mon Oct 10 00:41:47 2011
+++ wscript Wed Oct 12 10:17:53 2011
@@ -68,7 +68,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):
@@ -415,7 +415,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')