More generic check for OpenBSD platform
authorVadim Zhukov <persgray@gmail.com>
Fri, 17 May 2013 08:43:08 +0000 (12:43 +0400)
committerKarolin Seeger <kseeger@samba.org>
Mon, 27 May 2013 11:55:40 +0000 (13:55 +0200)
commit46e82a275cf3216d229912485b8939705e1a920c
treedb2930a8785a674cac4c6ae9bf0c141cbf47be78
parent9b1fac4bcb3af0688af5e26b931144c0c3e97735
More generic check for OpenBSD platform

OpenBSD versioning is different from many other
projects, and, say, 5.0 does not differ from 4.9 more than from 5.1. So the
right approach will be to check that platform name starts with "openbsd"
instead. This is also the thing OpenBSD developers do when patching other
software, so this patch is consistent with already existing practicies.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9888

Reviewed-by: Lars Müller <lars@samba.org>
Reviewed-by: Björn Jacke <bj@sernet.de>
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Fri May 17 17:58:16 CEST 2013 on sn-devel-104
(cherry picked from commit 2fda6c47f4aa46dbb42028732207a94821881c67)
buildtools/wafsamba/samba_autoconf.py
lib/ldb/wscript
wscript