pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/samba4 Fixes a build failure when the letter 'j' a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d12ddcd6e5c7
branches:  trunk
changeset: 335585:d12ddcd6e5c7
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sat Jun 22 13:27:12 2019 +0000

description:
Fixes a build failure when the letter 'j' appears in MAKEFLAGS.

diffstat:

 net/samba4/distinfo                                          |   3 +-
 net/samba4/patches/patch-buildtools_wafsamba_samba__utils.py |  18 ++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 4d3f89a5841b -r d12ddcd6e5c7 net/samba4/distinfo
--- a/net/samba4/distinfo       Sat Jun 22 13:01:58 2019 +0000
+++ b/net/samba4/distinfo       Sat Jun 22 13:27:12 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2019/06/19 21:22:59 adam Exp $
+$NetBSD: distinfo,v 1.31 2019/06/22 13:27:12 jmcneill Exp $
 
 SHA1 (samba-4.10.5.tar.gz) = 9444a1a0cafd2c734eab39d76908c5344421df99
 RMD160 (samba-4.10.5.tar.gz) = c6ebda08f6dba92446383b18d0f3cce3a2199312
@@ -7,6 +7,7 @@
 SHA1 (patch-buildtools_wafsamba_samba__conftests.py) = 0f9ca14e3a77d7dfad06aa8c4d2de2f6cc3c0646
 SHA1 (patch-buildtools_wafsamba_samba__install.py) = d801340617da325e3bb70a90350e45cc8e383c2d
 SHA1 (patch-buildtools_wafsamba_samba__pidl.py) = a7cc41a55ce032c3fe1e0b660f88fa7871710e0e
+SHA1 (patch-buildtools_wafsamba_samba__utils.py) = 0a587421870c1974175fadbb02dde215f35938f2
 SHA1 (patch-buildtools_wafsamba_wscript) = 5604936a825675647157331df2333f4237c611f5
 SHA1 (patch-docs-xml_wscript__build) = 5aa5cbf61882604b7ec9d19f0cd1537a23705ad0
 SHA1 (patch-dynconfig_wscript) = 1858e5fcca913f21aa3e7868d9760b9c40c9f5c4
diff -r 4d3f89a5841b -r d12ddcd6e5c7 net/samba4/patches/patch-buildtools_wafsamba_samba__utils.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba4/patches/patch-buildtools_wafsamba_samba__utils.py      Sat Jun 22 13:27:12 2019 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-buildtools_wafsamba_samba__utils.py,v 1.1 2019/06/22 13:27:12 jmcneill Exp $
+
+Fixes a build failure when the letter 'j' appears in MAKEFLAGS.
+
+--- buildtools/wafsamba/samba_utils.py.orig    2019-03-21 10:12:32.000000000 +0000
++++ buildtools/wafsamba/samba_utils.py
+@@ -519,10 +519,7 @@ def CHECK_MAKEFLAGS(options):
+             setattr(options, opt[0:loc], opt[loc+1:])
+         elif opt[0] != '-':
+             for v in opt:
+-                if re.search(r'j[0-9]*$', v):
+-                    jobs_set = True
+-                    jobs = opt.strip('j')
+-                elif v == 'k':
++                if v == 'k':
+                     options.keep = True
+         elif re.search(r'-j[0-9]*$', opt):
+             jobs_set = True



Home | Main Index | Thread Index | Old Index