app-shells/quoter: Respect CC (bug #654108).
authorJeroen Roovers <jer@gentoo.org>
Fri, 27 Apr 2018 08:03:20 +0000 (10:03 +0200)
committerJeroen Roovers <jer@gentoo.org>
Fri, 27 Apr 2018 08:03:42 +0000 (10:03 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

app-shells/quoter/quoter-3.0_p2-r1.ebuild

index a5b0ed2d6f58f94d3e16a56e4a2fb5fcda85e9c4..4c1901dae04b637397ee6061416897bc5882ce10 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit vcs-snapshot
+inherit toolchain-funcs vcs-snapshot
 
 DESCRIPTION="Quote arguments or standard input for usage in POSIX shell by eval"
 HOMEPAGE="https://github.com/vaeth/quoter/"
@@ -11,7 +11,10 @@ SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
-IUSE=""
+
+src_configure() {
+       tc-export CC
+}
 
 src_install() {
        emake DESTDIR="${ED}" install