summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2016-07-07 15:51:52 -0400
committerPatrice Clement <monsieurp@gentoo.org>2016-07-08 21:03:04 +0000
commitd5e9e9815e4eb4f7dce6b748c4152e68b1fbe8e3 (patch)
tree4a915fccf8a535a62ef1461d8a95dbbf71a0f32a /app-admin/needrestart
parentdev-perl/Text-CSV: Remove old (diff)
downloadgentoo-d5e9e9815e4eb4f7dce6b748c4152e68b1fbe8e3.tar.gz
gentoo-d5e9e9815e4eb4f7dce6b748c4152e68b1fbe8e3.tar.bz2
gentoo-d5e9e9815e4eb4f7dce6b748c4152e68b1fbe8e3.zip
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@gentoo.org>
Diffstat (limited to 'app-admin/needrestart')
-rw-r--r--app-admin/needrestart/files/needrestart-parallelmake.patch17
-rw-r--r--app-admin/needrestart/needrestart-2.8.ebuild4
2 files changed, 21 insertions, 0 deletions
diff --git a/app-admin/needrestart/files/needrestart-parallelmake.patch b/app-admin/needrestart/files/needrestart-parallelmake.patch
new file mode 100644
index 000000000000..0a80de2deaf4
--- /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 40723015663d..8c49f74aa95f 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