diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2015-09-10 22:04:27 -0400 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2015-09-10 22:04:51 -0400 |
commit | a07a0f5f699925b7081a5899309a6e148790625a (patch) | |
tree | bc49673c142db48f5adc8a77d53d6293c5b82018 /net-misc/networkmanager | |
parent | sys-fs/btrfs-progs: Bump to 4.2 (diff) | |
download | gentoo-a07a0f5f699925b7081a5899309a6e148790625a.tar.gz gentoo-a07a0f5f699925b7081a5899309a6e148790625a.tar.bz2 gentoo-a07a0f5f699925b7081a5899309a6e148790625a.zip |
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
Diffstat (limited to 'net-misc/networkmanager')
-rw-r--r-- | net-misc/networkmanager/networkmanager-1.0.6.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
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 |