pkgsrc/www/midori/patches/patch-aa
drochner 3d12598563 update to 0.2.5
changes:
-improved kiosk use
-Yellow location for valid SSL, red for invalid
-UI improvements
-bugfixes

pkgsrc change: Drop Linux conditional for installation if the
adblock config file. It seems to depend on the shared library file
extension which might be different than .so on some platforms, but
it is just a config file which doesn't hurt if it is not found.
2010-05-19 18:01:29 +00:00

29 lines
1.3 KiB
Text

$NetBSD: patch-aa,v 1.3 2010/05/19 18:01:29 drochner Exp $
--- wscript.orig 2010-05-16 18:32:33.000000000 +0000
+++ wscript
@@ -454,7 +454,7 @@ def build (bld):
'AUTHORS COPYING ChangeLog EXPAT README')
# Install default configuration
- bld.install_files ('${SYSCONFDIR}/xdg/' + APPNAME + '/', 'data/search')
+ bld.install_files ('${DESTDIR}${PREFIX}/share/examples/' + APPNAME + '/', 'data/search')
if bld.env['RST2HTML']:
# FIXME: Build only if needed
@@ -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:
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)
if Options.commands['check'] or bld.env['tests']: