From a07a0f5f699925b7081a5899309a6e148790625a Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Thu, 10 Sep 2015 22:04:27 -0400 Subject: [PATCH] net-misc/networkmanager: don't compile examples They are not needed and can cause build failure in some cases. Gentoo-Bug: 560140 Reported-by: Anibal Francisco Package-Manager: portage-2.2.20.1 --- net-misc/networkmanager/networkmanager-1.0.6.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-misc/networkmanager/networkmanager-1.0.6.ebuild b/net-misc/networkmanager/networkmanager-1.0.6.ebuild index a86a5f8e9949..fd570b5a1536 100644 --- a/net-misc/networkmanager/networkmanager-1.0.6.ebuild +++ b/net-misc/networkmanager/networkmanager-1.0.6.ebuild @@ -121,6 +121,9 @@ src_prepare() { # Force use of /run, avoid eautoreconf, upstream bug #737139, fixed in 'master' sed -e 's:$localstatedir/run/:/run/:' -i configure || die + # Don't build examples, they are not needed and can cause build failure + sed -e '/^\s*examples\s*\\/d' -i Makefile.{am,in} || die + use vala && vala_src_prepare epatch_user # don't remove, users often want custom patches for NM -- 2.26.2