openbsd-ports/net/samba/patches/patch-source4_heimdal_build_wscript_build
jca a001ab7285 Update to samba-4.4.2
Tests by Vijay Sankar and Ian, ok Ian

This release contains the security fixes introduced by 4.4.2, plus the
new features and improvements from 4.4.0:

  https://www.samba.org/samba/history/samba-4.4.0.html
2016-04-22 11:48:36 +00:00

18 lines
721 B
Plaintext

$OpenBSD: patch-source4_heimdal_build_wscript_build,v 1.2 2016/04/22 11:48:36 jca Exp $
Make Samba4 WAF respect OpenBSD shared libraries versioning conventions.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9774
--- source4/heimdal_build/wscript_build.orig Sun Apr 17 22:05:54 2016
+++ source4/heimdal_build/wscript_build Sun Apr 17 22:27:32 2016
@@ -243,6 +243,11 @@ def HEIMDAL_LIBRARY(libname, source, deps, vnum, versi
features = 'c cshlib symlink_lib install_lib'
+ # OpenBSD-like library version handling
+ osvnum = os.getenv('LIB' + bundled_name.replace('-', '_') + '_VERSION')
+ if osvnum:
+ vnum = osvnum
+
bld.set_group('main')
t = bld(
features = features,