commit:     d5e9e9815e4eb4f7dce6b748c4152e68b1fbe8e3
Author:     Craig Andrews <candrews <AT> integralblue <DOT> com>
AuthorDate: Thu Jul  7 19:51:52 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jul  8 21:03:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5e9e981

app-admin/needrestart-2.8: Fix QA Notice: make jobserver unavailable: using -j1.

Gentoo-Bug: https://bugs.gentoo.org/588216
Closes: https://github.com/gentoo/gentoo/pull/1843

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 .../needrestart/files/needrestart-parallelmake.patch    | 17 +++++++++++++++++
 app-admin/needrestart/needrestart-2.8.ebuild            |  4 ++++
 2 files changed, 21 insertions(+)

diff --git a/app-admin/needrestart/files/needrestart-parallelmake.patch 
b/app-admin/needrestart/files/needrestart-parallelmake.patch
new file mode 100644
index 0000000..0a80de2
--- /dev/null
+++ b/app-admin/needrestart/files/needrestart-parallelmake.patch
@@ -0,0 +1,17 @@
+https://github.com/liske/needrestart/pull/34
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index c432772..8cc2fe0 100644
+--- a/Makefile
++++ b/Makefile
+@@ -64,5 +64,5 @@ po/needrestart-notify/messages.pot: ex/notify.d/*-*
+ 
+ 
+ mo-files:
+-      make -C po/needrestart
+-      make -C po/needrestart-notify
++      $(MAKE) -C po/needrestart
++      $(MAKE) -C po/needrestart-notify

diff --git a/app-admin/needrestart/needrestart-2.8.ebuild 
b/app-admin/needrestart/needrestart-2.8.ebuild
index 4072301..8c49f74 100644
--- a/app-admin/needrestart/needrestart-2.8.ebuild
+++ b/app-admin/needrestart/needrestart-2.8.ebuild
@@ -30,6 +30,10 @@ RDEPEND="
 DEPEND="${RDEPEND}
 "
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-parallelmake.patch # 
https://bugs.gentoo.org/show_bug.cgi?id=588216
+)
+
 src_install() {
        default
        doman man/*.1

Reply via email to