From: Alexey Sokolov Date: Sun, 26 Apr 2020 11:08:19 +0000 (+0100) Subject: app-i18n/fbterm: call ar through tc X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d9e8bbccdce70a295fff39af4f7cbac5c48902e6;p=gentoo.git app-i18n/fbterm: call ar through tc Closes: https://bugs.gentoo.org/718356 Closes: https://github.com/gentoo/gentoo/pull/15467 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alexey Sokolov Signed-off-by: Akinori Hattori --- diff --git a/app-i18n/fbterm/fbterm-1.7_p20190503.ebuild b/app-i18n/fbterm/fbterm-1.7_p20190503.ebuild index 92924b9b17b2..1c56f62e76bc 100644 --- a/app-i18n/fbterm/fbterm-1.7_p20190503.ebuild +++ b/app-i18n/fbterm/fbterm-1.7_p20190503.ebuild @@ -3,30 +3,26 @@ EAPI="7" -inherit autotools fcaps +inherit autotools fcaps toolchain-funcs vcs-snapshot + +EGIT_COMMIT="ccea326dd73f4d6b6442fde7ba7c2be9cd35c6df" DESCRIPTION="Fast terminal emulator for the Linux framebuffer" HOMEPAGE="https://github.com/gjedeer/fbterm" -MY_COMMIT="ccea326dd73f4d6b6442fde7ba7c2be9cd35c6df" -SRC_URI="https://github.com/gjedeer/fbterm/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/fbterm-${MY_COMMIT}" +SRC_URI="https://github.com/gjedeer/fbterm/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="gpm video_cards_vesa" -DEPEND=" - media-libs/fontconfig +DEPEND="media-libs/fontconfig media-libs/freetype:2 >=sys-libs/ncurses-6.1 gpm? ( sys-libs/gpm ) - video_cards_vesa? ( dev-libs/libx86 ) -" -BDEPEND=" - virtual/pkgconfig -" + video_cards_vesa? ( dev-libs/libx86 )" +BDEPEND="virtual/pkgconfig" FILECAPS=( cap_sys_tty_config+ep usr/bin/${PN} @@ -46,6 +42,10 @@ src_configure() { $(use_enable video_cards_vesa vesa) } +src_compile() { + emake AR="$(tc-getAR)" +} + src_install() { default