openbsd-ports/net/samba4/patches/patch-source3_wscript
zhuk 02a60216ad Import Samba 4.0.17 WIP port. In openbsd-wip for more than a year.
Most of work by yours truly, with help from kirby@, ian@ and others.

Notable change: libtalloc became a part of -util subpackage. Stuff
in this package has circular dependencies (at least, it was so
during beta times), so it's not possible to have libtalloc as
a separate package.

Now that Heimdal leaved base system, we could get rid of dirty, nasty
pool of hacks that renamed almost every symbol of bundled Heimdal.

okay ajacoutot@, also support from ian@ and sthen@ at least.
2014-05-04 16:08:29 +00:00

14 lines
538 B
Plaintext

$OpenBSD: patch-source3_wscript,v 1.1.1.1 2014/05/04 16:08:29 zhuk Exp $
Use more generic check for OpenBSD.
--- source3/wscript.orig Thu May 1 16:31:03 2014
+++ source3/wscript Thu May 1 16:31:03 2014
@@ -69,7 +69,7 @@ def configure(conf):
if Options.options.with_swat:
conf.env['build_swat'] = True
- if sys.platform != 'openbsd5':
+ if not sys.platform.startswith('openbsd'):
conf.ADD_LDFLAGS("-Wl,--export-dynamic", testflags=True)
conf.CHECK_HEADERS('execinfo.h libexc.h libunwind.h netdb.h')