From: Patrice Clement Date: Thu, 16 Nov 2017 21:53:48 +0000 (+0100) Subject: app-admin/entr: export CC. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a4547dee84c5874f0c49919dda4170ecca814bbb;p=gentoo.git app-admin/entr: export CC. Package-Manager: Portage-2.3.13, Repoman-2.3.4 --- diff --git a/app-admin/entr/entr-3.9-r1.ebuild b/app-admin/entr/entr-3.9-r1.ebuild new file mode 100644 index 000000000000..ec8d53eb289b --- /dev/null +++ b/app-admin/entr/entr-3.9-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Run arbitrary commands when files change" +HOMEPAGE="http://entrproject.org" +SRC_URI="http://entrproject.org/code/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +src_unpack() { + unpack "${P}.tar.gz" + mv eradman-* "${P}" || die +} + +src_configure() { + sh configure || die + sed -i -e 's#\(^PREFIX \).*#\1\?= /usr#' Makefile.bsd || die +} + +src_compile() { + export CC=$(tc-getCC) + default +} + +src_test() { + export CC=$(tc-getCC) + default +}