Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/tvision/
Date: Tue, 09 Feb 2021 08:57:44
Message-Id: 1612860740.c3d66b6d2cf01205ba43b17d74b7ffce9f772171.sam@gentoo
1 commit: c3d66b6d2cf01205ba43b17d74b7ffce9f772171
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 9 08:52:20 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 9 08:52:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d66b6d
7
8 dev-libs/tvision: respect CC, CXX
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-libs/tvision/tvision-2.2.1.4.ebuild | 8 +++++---
14 1 file changed, 5 insertions(+), 3 deletions(-)
15
16 diff --git a/dev-libs/tvision/tvision-2.2.1.4.ebuild b/dev-libs/tvision/tvision-2.2.1.4.ebuild
17 index 08f6776519e..40d5d8d3482 100644
18 --- a/dev-libs/tvision/tvision-2.2.1.4.ebuild
19 +++ b/dev-libs/tvision/tvision-2.2.1.4.ebuild
20 @@ -3,11 +3,13 @@
21
22 EAPI=7
23
24 -MY_PV=$(ver_rs 3 -)
25 +inherit toolchain-funcs
26
27 +MY_PV=$(ver_rs 3 -)
28 DESCRIPTION="Text User Interface that implements the well known CUA widgets"
29 HOMEPAGE="http://tvision.sourceforge.net/"
30 SRC_URI="mirror://sourceforge/tvision/rhtvision_${MY_PV}.tar.gz"
31 +S="${WORKDIR}/${PN}"
32
33 LICENSE="GPL-2"
34 SLOT="0"
35 @@ -17,8 +19,6 @@ IUSE="+X debug gpm"
36 DOCS=( readme.txt THANKS TODO )
37 HTML_DOCS=( www-site/. )
38
39 -S=${WORKDIR}/${PN}
40 -
41 # installed lib links to those
42 RDEPEND="
43 dev-libs/libbsd
44 @@ -49,6 +49,8 @@ PATCHES=(
45 )
46
47 src_configure() {
48 + tc-export CC CXX
49 +
50 # Note: Do not use econf here, this isn't an autoconf configure script,
51 # but a perl based script which simply calls config.pl
52 ./configure --fhs \