From: Mike Gilbert Date: Thu, 4 Aug 2016 17:13:01 +0000 (-0400) Subject: net-misc/networkmanager: disable examples by stubbing out the Makefile X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=66de663c48186cb4143dce52791656f79744f3d9;p=gentoo.git net-misc/networkmanager: disable examples by stubbing out the Makefile Package-Manager: portage-2.3.0_p16 --- 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() {