From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 689C415808B for ; Sat, 19 Mar 2022 22:39:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 795C9E084A; Sat, 19 Mar 2022 22:39:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D54B1E0896 for ; Sat, 19 Mar 2022 22:39:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8DA37343831 for ; Sat, 19 Mar 2022 22:39:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1018D32D for ; Sat, 19 Mar 2022 22:39:19 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1647729542.b7da48a7fce92735b1cb9353ea9a85afe8acc139.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/openldap/files/, net-nds/openldap/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-nds/openldap/files/openldap-2.6.1-make-flags.patch net-nds/openldap/openldap-2.6.1.ebuild X-VCS-Directories: net-nds/openldap/files/ net-nds/openldap/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b7da48a7fce92735b1cb9353ea9a85afe8acc139 X-VCS-Branch: master Date: Sat, 19 Mar 2022 22:39:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bb1d7b18-2405-4a0b-be4a-2b2e9af98303 X-Archives-Hash: 2d58c5ddcbefb2308429445e210cd6d4 commit: b7da48a7fce92735b1cb9353ea9a85afe8acc139 Author: Sam James gentoo org> AuthorDate: Sat Mar 19 22:34:14 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Mar 19 22:39:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7da48a7 net-nds/openldap: add upstream MAKEOPTS patch Signed-off-by: Sam James gentoo.org> .../openldap/files/openldap-2.6.1-make-flags.patch | 59 ++++++++++++++++++++++ net-nds/openldap/openldap-2.6.1.ebuild | 1 + 2 files changed, 60 insertions(+) diff --git a/net-nds/openldap/files/openldap-2.6.1-make-flags.patch b/net-nds/openldap/files/openldap-2.6.1-make-flags.patch new file mode 100644 index 000000000000..bf94f9958d3a --- /dev/null +++ b/net-nds/openldap/files/openldap-2.6.1-make-flags.patch @@ -0,0 +1,59 @@ +https://github.com/openldap/openldap/commit/8e3f87f86a51e78bffefb85968e5684213422cb7 + +From: Orgad Shaneh +Date: Tue, 25 Jan 2022 17:38:46 +0200 +Subject: [PATCH] ITS#9788 Fix make jobserver warnings + +Running make -j8 issues the following warning for each directory with +make 4.3: +make[2]: warning: -j8 forced in submake: resetting jobserver mode. + +There is no need to pass MFLAGS. Make picks it up from the +environment anyway. +--- a/build/dir.mk ++++ b/build/dir.mk +@@ -21,7 +21,7 @@ all-common: FORCE + @echo "Making all in `$(PWD)`" + @for i in $(SUBDIRS) $(ALLDIRS); do \ + echo " Entering subdirectory $$i"; \ +- ( cd $$i && $(MAKE) $(MFLAGS) all ); \ ++ ( cd $$i && $(MAKE) all ); \ + if test $$? != 0 ; then exit 1; fi ; \ + echo " "; \ + done +@@ -30,7 +30,7 @@ install-common: FORCE + @echo "Making install in `$(PWD)`" + @for i in $(SUBDIRS) $(INSTALLDIRS); do \ + echo " Entering subdirectory $$i"; \ +- ( cd $$i && $(MAKE) $(MFLAGS) install ); \ ++ ( cd $$i && $(MAKE) install ); \ + if test $$? != 0 ; then exit 1; fi ; \ + echo " "; \ + done +@@ -39,7 +39,7 @@ clean-common: FORCE + @echo "Making clean in `$(PWD)`" + @for i in $(SUBDIRS) $(CLEANDIRS); do \ + echo " Entering subdirectory $$i"; \ +- ( cd $$i && $(MAKE) $(MFLAGS) clean ); \ ++ ( cd $$i && $(MAKE) clean ); \ + if test $$? != 0 ; then exit 1; fi ; \ + echo " "; \ + done +@@ -48,7 +48,7 @@ veryclean-common: FORCE + @echo "Making veryclean in `$(PWD)`" + @for i in $(SUBDIRS) $(CLEANDIRS); do \ + echo " Entering subdirectory $$i"; \ +- ( cd $$i && $(MAKE) $(MFLAGS) veryclean ); \ ++ ( cd $$i && $(MAKE) veryclean ); \ + if test $$? != 0 ; then exit 1; fi ; \ + echo " "; \ + done +@@ -57,7 +57,7 @@ depend-common: FORCE + @echo "Making depend in `$(PWD)`" + @for i in $(SUBDIRS) $(DEPENDDIRS); do \ + echo " Entering subdirectory $$i"; \ +- ( cd $$i && $(MAKE) $(MFLAGS) depend ); \ ++ ( cd $$i && $(MAKE) depend ); \ + if test $$? != 0 ; then exit 1; fi ; \ + echo " "; \ + done diff --git a/net-nds/openldap/openldap-2.6.1.ebuild b/net-nds/openldap/openldap-2.6.1.ebuild index 7ca516cae4d6..0e0449e3885e 100644 --- a/net-nds/openldap/openldap-2.6.1.ebuild +++ b/net-nds/openldap/openldap-2.6.1.ebuild @@ -144,6 +144,7 @@ PATCHES=( "${FILESDIR}"/${PN}-2.6.1-cloak.patch "${FILESDIR}"/${PN}-2.6.1-flags.patch "${FILESDIR}"/${PN}-2.6.1-fix-missing-mapping.patch + "${FILESDIR}"/${PN}-2.6.1-make-flags.patch ) openldap_filecount() {