diff --git a/www-client/surfraw/files/surfraw-99999-sr-completion-path.patch b/www-client/surfraw/files/surfraw-99999-sr-completion-path.patch new file mode 100644 index 0000000000000..273ffcb3ce554 --- /dev/null +++ b/www-client/surfraw/files/surfraw-99999-sr-completion-path.patch @@ -0,0 +1,11 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -112,7 +112,7 @@ + mkdir -p $(DESTDIR)@datadir@/bash-completion/completions + @cp $(top_srcdir)/surfraw-bash-completion $(DESTDIR)@datadir@/bash-completion/completions/surfraw + if INSTALLSR +- @ln -sf $(DESTDIR)@datadir@/bash-completion/completions/surfraw $(DESTDIR)@datadir@/bash-completion/completions/sr ++ @ln -sf surfraw $(DESTDIR)@datadir@/bash-completion/completions/sr + endif # INSTALLSR + endif # BASHCOMPLETIONS + diff --git a/www-client/surfraw/surfraw-99999.ebuild b/www-client/surfraw/surfraw-99999.ebuild index 6c4ea3c987697..2ec87d0aa3144 100644 --- a/www-client/surfraw/surfraw-99999.ebuild +++ b/www-client/surfraw/surfraw-99999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -23,6 +23,7 @@ DOCS=( ) PATCHES=( "${FILESDIR}"/${PN}-2.3.0-completion.patch + "${FILESDIR}"/${PN}-99999-sr-completion-path.patch ) src_prepare() {