From 7fe6c5614f51fccc9d8e18d0664e6a2f6880abec Mon Sep 17 00:00:00 2001 From: Rivo Nurges Date: Fri, 30 Apr 2010 23:34:07 +0200 Subject: [PATCH] Pass /usr/X11R6/include for OpenBSD to find X11 --- wscript | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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') -- 2.39.5