summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-08-04 13:13:01 -0400
committerMike Gilbert <floppym@gentoo.org>2016-08-04 13:24:27 -0400
commit66de663c48186cb4143dce52791656f79744f3d9 (patch)
tree6daf00641150b0064fa313c041a41f77f782b8b9 /net-misc/networkmanager
parentwww-client/firefox-45.3.0: convert LINGUAS to L10N (diff)
downloadgentoo-66de663c48186cb4143dce52791656f79744f3d9.tar.gz
gentoo-66de663c48186cb4143dce52791656f79744f3d9.tar.bz2
gentoo-66de663c48186cb4143dce52791656f79744f3d9.zip
net-misc/networkmanager: disable examples by stubbing out the Makefile
Package-Manager: portage-2.3.0_p16
Diffstat (limited to 'net-misc/networkmanager')
-rw-r--r--net-misc/networkmanager/networkmanager-1.2.4.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/net-misc/networkmanager/networkmanager-1.2.4.ebuild b/net-misc/networkmanager/networkmanager-1.2.4.ebuild
index ba3a6e1630c1..56aa7e0f9899 100644
--- a/net-misc/networkmanager/networkmanager-1.2.4.ebuild
+++ b/net-misc/networkmanager/networkmanager-1.2.4.ebuild
@@ -122,9 +122,6 @@ src_prepare() {
DOC_CONTENTS="To modify system network connections without needing to enter the
root password, add your user account to the 'plugdev' group."
- # 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
gnome2_src_prepare
}
@@ -207,6 +204,13 @@ multilib_src_configure() {
ln -s "${S}"/docs/${d}/html docs/${d}/html || die
done
fi
+
+ # Disable examples
+ cat > examples/Makefile <<-EOF
+ .PHONY: all install
+ all:
+ install:
+ EOF
}
multilib_src_compile() {