From: Alexandre Rostovtsev Date: Fri, 11 Sep 2015 02:04:27 +0000 (-0400) Subject: net-misc/networkmanager: don't compile examples X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a07a0f5f699925b7081a5899309a6e148790625a;p=gentoo.git 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 --- 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