commit:     e5322b7cc4ef2e6a722e2cdc3f5388d801af36b1
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 24 13:48:21 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Sep 24 13:49:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5322b7c

www-client/surfraw: Update live ebuild

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 .../surfraw/files/surfraw-99999-sr-completion-path.patch      | 11 +++++++++++
 www-client/surfraw/surfraw-99999.ebuild                       |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

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 00000000000..273ffcb3ce5
--- /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 6c4ea3c9876..2ec87d0aa31 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() {

Reply via email to