2010-05-19 20:01:29 +02:00
|
|
|
$NetBSD: patch-aa,v 1.3 2010/05/19 18:01:29 drochner Exp $
|
2009-03-18 04:14:11 +01:00
|
|
|
|
2010-05-19 20:01:29 +02:00
|
|
|
--- wscript.orig 2010-05-16 18:32:33.000000000 +0000
|
2010-04-10 02:57:06 +02:00
|
|
|
+++ wscript
|
2010-05-19 20:01:29 +02:00
|
|
|
@@ -454,7 +454,7 @@ def build (bld):
|
2010-04-10 02:57:06 +02:00
|
|
|
'AUTHORS COPYING ChangeLog EXPAT README')
|
2009-03-18 04:14:11 +01:00
|
|
|
|
|
|
|
# Install default configuration
|
|
|
|
- bld.install_files ('${SYSCONFDIR}/xdg/' + APPNAME + '/', 'data/search')
|
2010-04-10 02:57:06 +02:00
|
|
|
+ bld.install_files ('${DESTDIR}${PREFIX}/share/examples/' + APPNAME + '/', 'data/search')
|
2009-03-18 04:14:11 +01:00
|
|
|
|
|
|
|
if bld.env['RST2HTML']:
|
|
|
|
# FIXME: Build only if needed
|
2010-05-19 20:01:29 +02:00
|
|
|
@@ -533,13 +533,13 @@ def build (bld):
|
|
|
|
bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/autosuggestcontrol.css')
|
|
|
|
|
|
|
|
# FIXME: Determine the library naming for other platforms
|
|
|
|
- if Options.platform == 'linux':
|
|
|
|
+ if 1:
|
|
|
|
extensions = os.listdir ('data/extensions')
|
|
|
|
for extension in extensions:
|
2010-04-10 02:57:06 +02:00
|
|
|
folder = 'lib' + extension + '.so'
|
|
|
|
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/' + folder, source)
|
|
|
|
|
2010-05-19 20:01:29 +02:00
|
|
|
if Options.commands['check'] or bld.env['tests']:
|