commit:     e223cf2f5eeb23b476eaf2e3862b52986e8e797a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 15 11:46:39 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jan 15 12:32:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e223cf2f

app-admin/lastpass-cli: Respect CC

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 .../{lastpass-cli-0.8.0.ebuild => lastpass-cli-0.8.0-r1.ebuild}   | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/app-admin/lastpass-cli/lastpass-cli-0.8.0.ebuild 
b/app-admin/lastpass-cli/lastpass-cli-0.8.0-r1.ebuild
similarity index 93%
rename from app-admin/lastpass-cli/lastpass-cli-0.8.0.ebuild
rename to app-admin/lastpass-cli/lastpass-cli-0.8.0-r1.ebuild
index 242be99..8bb6a25 100644
--- a/app-admin/lastpass-cli/lastpass-cli-0.8.0.ebuild
+++ b/app-admin/lastpass-cli/lastpass-cli-0.8.0-r1.ebuild
@@ -4,9 +4,11 @@
 
 EAPI=5
 
+inherit toolchain-funcs
+
 DESCRIPTION="Interfaces with LastPass.com from the command line."
-SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 HOMEPAGE="https://github.com/lastpass/lastpass-cli";
+SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 SLOT="0"
 LICENSE="GPL-2"
@@ -23,6 +25,10 @@ RDEPEND="
 "
 DEPEND="${RDEPEND} app-text/asciidoc"
 
+src_prepare() {
+       tc-export CC
+}
+
 src_compile() {
        emake PREFIX="${EPREFIX}/usr"
        emake PREFIX="${EPREFIX}/usr" doc-man

Reply via email to