pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9729f58dce1a
branches:  trunk
changeset: 335580:9729f58dce1a
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sat Jun 22 12:56:31 2019 +0000

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

diffstat:

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

diffs (36 lines):

diff -r d33a465fd1a3 -r 9729f58dce1a databases/ldb/distinfo
--- a/databases/ldb/distinfo    Sat Jun 22 12:53:47 2019 +0000
+++ b/databases/ldb/distinfo    Sat Jun 22 12:56:31 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2019/03/20 19:06:56 adam Exp $
+$NetBSD: distinfo,v 1.2 2019/06/22 12:56:31 jmcneill Exp $
 
 SHA1 (ldb-1.5.4.tar.gz) = 870e4112053ae350f5de27b00aa8703d3e7dc34d
 RMD160 (ldb-1.5.4.tar.gz) = d2bbb808990f7dc80a4d0d1278756f13a4526f85
@@ -6,3 +6,4 @@
 Size (ldb-1.5.4.tar.gz) = 1629123 bytes
 SHA1 (patch-buildtools_wafsamba_samba__conftests.py) = 4d2727e1ca3d65c26200bf699b93b5bf3198bfd0
 SHA1 (patch-buildtools_wafsamba_samba__install.py) = d801340617da325e3bb70a90350e45cc8e383c2d
+SHA1 (patch-buildtools_wafsamba_samba__utils.py) = 0a587421870c1974175fadbb02dde215f35938f2
diff -r d33a465fd1a3 -r 9729f58dce1a databases/ldb/patches/patch-buildtools_wafsamba_samba__utils.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ldb/patches/patch-buildtools_wafsamba_samba__utils.py   Sat Jun 22 12:56:31 2019 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-buildtools_wafsamba_samba__utils.py,v 1.1 2019/06/22 12:56:31 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