--- /usr/portage/net-misc/networkmanager/networkmanager-0.9.8.2-r3.ebuild 2013-07-20 04:01:28.000000000 +0400 +++ networkmanager-0.9.8.2-r3.ebuild 2013-07-25 03:09:16.956117984 +0400 @@ -7,7 +7,7 @@ VALA_MIN_API_VERSION="0.18" VALA_USE_DEPEND="vapigen" -inherit gnome.org linux-info systemd user readme.gentoo toolchain-funcs vala virtualx udev eutils autotools +inherit bash-completion-r1 gnome.org linux-info systemd user readme.gentoo toolchain-funcs vala virtualx udev eutils autotools DESCRIPTION="Universal network configuration daemon for laptops, desktops, servers and virtualization hosts" HOMEPAGE="http://projects.gnome.org/NetworkManager/" @@ -118,7 +118,7 @@ -i */tests/*.py || die # Fix completiondir, avoid eautoreconf, bug #465100 - sed -i 's|^completiondir =.*|completiondir = $(datadir)/bash-completion|' \ + sed -i "s|^completiondir =.*|completiondir = $(get_bashcompdir)|" \ cli/completion/Makefile.in || die "sed completiondir failed" ## Force use of /run, avoid eautoreconf