commit:     a4547dee84c5874f0c49919dda4170ecca814bbb
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 16 21:53:48 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 21:55:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4547dee

app-admin/entr: export CC.

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 app-admin/entr/entr-3.9-r1.ebuild | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

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 00000000000..ec8d53eb289
--- /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
+}

Reply via email to