openbsd-ports/net/samba/patches/patch-buildtools_wafsamba_wscript
jca 4b1d388711 Move samba4 to samba, and tweak the ports tree to use it.
ok ajacoutot@

Upcoming commits will add additional tweaks.

Many thanks to Vadim Zhukov (who did most of the work), Ian McWilliam
(co-maintainer), Stuart Henderson who provided lots of support and
feedback, Antoine Jacoutot who patiently dealt with my broken diffs,
and more generally all the people involved.  Most of the recent work was
done during p2k15 and c2k15.
2015-08-25 11:04:38 +00:00

17 lines
780 B
Plaintext

$OpenBSD: patch-buildtools_wafsamba_wscript,v 1.1 2015/08/25 11:04:39 jca Exp $
Add a hack to force addition of -I/usr/include before any other include path discovered.
--- buildtools/wafsamba/wscript.orig Thu May 1 16:31:00 2014
+++ buildtools/wafsamba/wscript Thu May 1 16:31:00 2014
@@ -85,6 +85,11 @@ def set_options(opt):
help=("Disable use of gettext"),
action="store_true", dest='disable_gettext', default=False)
+ opt.add_option('--with-dummy',
+ help='dummy option to inject /usr/include',
+ action='store', dest='libc_location', default='/usr',
+ match = ['Checking for header sys/types.h'])
+
gr = opt.option_group('developer options')
gr.add_option('-C',