summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-09 08:52:20 +0000
committerSam James <sam@gentoo.org>2021-02-09 08:52:20 +0000
commitc3d66b6d2cf01205ba43b17d74b7ffce9f772171 (patch)
tree3d141df5531cf009e33b7da919742c9120146327
parentdev-libs/tvision: fix linker flags (diff)
downloadgentoo-c3d66b6d2cf01205ba43b17d74b7ffce9f772171.tar.gz
gentoo-c3d66b6d2cf01205ba43b17d74b7ffce9f772171.tar.bz2
gentoo-c3d66b6d2cf01205ba43b17d74b7ffce9f772171.zip
dev-libs/tvision: respect CC, CXX
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-libs/tvision/tvision-2.2.1.4.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-libs/tvision/tvision-2.2.1.4.ebuild b/dev-libs/tvision/tvision-2.2.1.4.ebuild
index 08f6776519ed..40d5d8d3482b 100644
--- a/dev-libs/tvision/tvision-2.2.1.4.ebuild
+++ b/dev-libs/tvision/tvision-2.2.1.4.ebuild
@@ -3,11 +3,13 @@
EAPI=7
-MY_PV=$(ver_rs 3 -)
+inherit toolchain-funcs
+MY_PV=$(ver_rs 3 -)
DESCRIPTION="Text User Interface that implements the well known CUA widgets"
HOMEPAGE="http://tvision.sourceforge.net/"
SRC_URI="mirror://sourceforge/tvision/rhtvision_${MY_PV}.tar.gz"
+S="${WORKDIR}/${PN}"
LICENSE="GPL-2"
SLOT="0"
@@ -17,8 +19,6 @@ IUSE="+X debug gpm"
DOCS=( readme.txt THANKS TODO )
HTML_DOCS=( www-site/. )
-S=${WORKDIR}/${PN}
-
# installed lib links to those
RDEPEND="
dev-libs/libbsd
@@ -49,6 +49,8 @@ PATCHES=(
)
src_configure() {
+ tc-export CC CXX
+
# Note: Do not use econf here, this isn't an autoconf configure script,
# but a perl based script which simply calls config.pl
./configure --fhs \