Code snippet from ebuild: # Fix completiondir, avoid eautoreconf, bug #465100 sed -i 's|^completiondir =.*|completiondir = $(datadir)/bash-completion|' \ cli/completion/Makefile.in || die "sed completiondir failed"
Created attachment 354134 [details, diff] networkmanager-0.9.8.2-r3.ebuild.patch
I end up having the following: # equery files networkmanager|grep completion /usr/share/bash-completion /usr/share/bash-completion/completions /usr/share/bash-completion/completions/nmcli But I still have old bash-completion: [ebuild R ] app-shells/bash-completion-1.3-r2 0 kB Reading eclass, this shouldn't occur :(
I think this is an issue with the added call to eautoreconf in src_prepare. We should patch cli/completion/Makefile.am not cli/completion/Makefile.in because the later gets overridden by eautoreconf?
Uh! Yes! Will review it later (if nobody beats me ;))
+ 25 Jul 2013; Pacho Ramos <pacho@gentoo.org> networkmanager-0.9.8.2-r3.ebuild: + Refix completion dir using eclass (#477820 by Alexander Tsoy and poncho) +