commit:     1a3b613e09677555614bb43ca801f2831f953c0c
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 20 14:40:34 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Aug 20 14:40:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3b613e

www-client/chromium: simplify CHROMIUM_HOME

We no longer have a "live" slot, so this code is unnecessary.

 www-client/chromium/chromium-54.0.2832.2.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/www-client/chromium/chromium-54.0.2832.2.ebuild 
b/www-client/chromium/chromium-54.0.2832.2.ebuild
index 9b68f52..4231c33 100644
--- a/www-client/chromium/chromium-54.0.2832.2.ebuild
+++ b/www-client/chromium/chromium-54.0.2832.2.ebuild
@@ -181,12 +181,6 @@ pkg_pretend() {
 }
 
 pkg_setup() {
-       if [[ "${SLOT}" == "0" ]]; then
-               CHROMIUM_SUFFIX=""
-       else
-               CHROMIUM_SUFFIX="-${SLOT}"
-       fi
-       CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser${CHROMIUM_SUFFIX}"
 
        # Make sure the build system will use the right python, bug #344367.
        python-any-r1_pkg_setup
@@ -619,6 +613,7 @@ src_compile() {
 }
 
 src_install() {
+       local 
CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser${CHROMIUM_SUFFIX}"
        exeinto "${CHROMIUM_HOME}"
        doexe out/Release/chrome || die
 

Reply via email to