Files
gentoo/dev-util/bpftool
YiFei Zhu 0ff398c801 dev-util/bpftool: Fix install in prefix
Without this patch install would cause:
  * QA Notice: the following files are outside of the prefix:
  * /usr
  * /usr/share
  * /usr/share/bash-completion
  * /usr/share/bash-completion/completions
  * /usr/share/bash-completion/completions/bpftool
  * ERROR: dev-util/bpftool-6.0.12::gentoo failed:
  *   Aborting due to QA concerns: there are files installed outside the prefix

The Makefile defines
  bash_compdir ?= /usr/share/bash-completion/completions
and the install command is
  $(Q)$(INSTALL) -m 0755 -d $(DESTDIR)$(bash_compdir)

We can just do a simple override with $(get_bashcompdir) from
bash-completion-r1.eclass.

Signed-off-by: YiFei Zhu <zhuyifei@google.com>
Closes: https://github.com/gentoo/gentoo/pull/29151
Signed-off-by: Sam James <sam@gentoo.org>
2023-01-18 00:46:01 +00:00
..
2023-01-08 18:06:39 +01:00