app-admin/lastpass-cli: Respect CC
authorJustin Lecher <jlec@gentoo.org>
Fri, 15 Jan 2016 11:46:39 +0000 (12:46 +0100)
committerJustin Lecher <jlec@gentoo.org>
Fri, 15 Jan 2016 12:32:09 +0000 (13:32 +0100)
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec@gentoo.org>
app-admin/lastpass-cli/lastpass-cli-0.8.0-r1.ebuild [moved from app-admin/lastpass-cli/lastpass-cli-0.8.0.ebuild with 93% similarity]

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 242be996439046e69221297cc9cb4d5a32a76c51..8bb6a25f0af2caac736a0bf99ba99085ebb9b230 100644 (file)
@@ -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