openbsd-ports/www/midori/patches/patch-wscript
2009-09-21 08:01:25 +00:00

28 lines
996 B
Plaintext

$OpenBSD: patch-wscript,v 1.7 2009/09/21 08:01:25 landry Exp $
We don't need those files installed..
--- wscript.orig Sat Sep 12 00:09:38 2009
+++ wscript Sun Sep 13 13:55:02 2009
@@ -63,7 +63,7 @@ def rc_file(self, node):
rctask.set_outputs (node.change_ext ('.rc.o'))
self.compiled_tasks.append (rctask)
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):
@@ -373,12 +373,8 @@ def build (bld):
bld.add_group ()
- if bld.env['docs']:
- bld.install_files ('${DOCDIR}/' + APPNAME + '/', \
- 'AUTHORS ChangeLog COPYING EXPAT README TRANSLATE')
-
# Install default configuration
- bld.install_files ('${SYSCONFDIR}/xdg/' + APPNAME + '/', 'data/search')
+ bld.install_files ('${MDATADIR}/examples/' + APPNAME + '/', 'data/search')
if bld.env['RST2HTML']:
# FIXME: Build only if needed