openbsd-ports/www/midori/patches/patch-wscript
2010-05-20 19:01:14 +00:00

28 lines
972 B
Plaintext

$OpenBSD: patch-wscript,v 1.9 2010/05/20 19:01:14 landry Exp $
We don't need those files installed..
--- wscript.orig Sun May 16 20:32:33 2010
+++ wscript Thu May 20 20:12:21 2010
@@ -67,7 +67,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):
@@ -449,12 +449,8 @@ def build (bld):
bld.add_group ()
- if bld.env['docs']:
- bld.install_files ('${DOCDIR}/' + APPNAME + '/', \
- 'AUTHORS COPYING ChangeLog EXPAT README')
-
# 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