From: Rivo Nurges Date: Fri, 30 Apr 2010 21:34:07 +0000 (+0200) Subject: Pass /usr/X11R6/include for OpenBSD to find X11 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fe6c5614f51fccc9d8e18d0664e6a2f6880abec;p=midori Pass /usr/X11R6/include for OpenBSD to find X11 --- diff --git a/wscript b/wscript index 140b8985..e0b8f212 100644 --- a/wscript +++ b/wscript @@ -218,8 +218,10 @@ def configure (conf): args = '--define-variable=target=win32' elif sys.platform != 'darwin': check_pkg ('x11') - conf.check (header_name='X11/extensions/scrnsaver.h', mandatory=False) - conf.check (lib='Xss', mandatory=False) + # Pass /usr/X11R6/include for OpenBSD + conf.check (header_name='X11/extensions/scrnsaver.h', + includes='/usr/X11R6/include', mandatory=False) + conf.check (lib='Xss', libpath='/usr/X11R6/lib', mandatory=False) check_pkg ('gtk+-2.0', '2.10.0', var='GTK', args=args) check_pkg ('webkit-1.0', '1.1.1', args=args) check_pkg ('libsoup-2.4', '2.25.2')