diff options
author | Sam James <sam@gentoo.org> | 2021-04-01 00:22:59 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-01 00:43:22 +0000 |
commit | a009cde154a1a6d2c68de9fbc093917ddc940506 (patch) | |
tree | 63bba5017c454ce4874011d843a586c731207a3f /dev-libs/libvterm/libvterm-0.1.1.ebuild | |
parent | games-misc/bsd-games: drop 2.17-r5 (games.eclass) => rebase patches as -p1 (diff) | |
download | gentoo-a009cde154a1a6d2c68de9fbc093917ddc940506.tar.gz gentoo-a009cde154a1a6d2c68de9fbc093917ddc940506.tar.bz2 gentoo-a009cde154a1a6d2c68de9fbc093917ddc940506.zip |
dev-libs/libvterm: port to EAPI 7 for old, respect CC
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libvterm/libvterm-0.1.1.ebuild')
-rw-r--r-- | dev-libs/libvterm/libvterm-0.1.1.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-libs/libvterm/libvterm-0.1.1.ebuild b/dev-libs/libvterm/libvterm-0.1.1.ebuild index a9f83554b9e2..64440bd5eae4 100644 --- a/dev-libs/libvterm/libvterm-0.1.1.ebuild +++ b/dev-libs/libvterm/libvterm-0.1.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit flag-o-matic + +inherit flag-o-matic toolchain-funcs DESCRIPTION="An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator" HOMEPAGE="http://www.leonerd.org.uk/code/libvterm/" @@ -11,18 +12,18 @@ SRC_URI="https://launchpad.net/${PN}/trunk/v$(ver_cut 1-2)/+download/${P}.tar.gz LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="" BDEPEND=" dev-lang/perl sys-devel/libtool virtual/pkgconfig " -DEPEND="" RDEPEND="!dev-libs/libvterm-neovim" src_compile() { + tc-export CC append-cflags -fPIC + emake VERBOSE=1 PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" } @@ -32,5 +33,6 @@ src_install() { PREFIX="${EPREFIX}/usr" \ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ DESTDIR="${D}" install - find "${D}" -name '*.la' -delete || die "Failed to prune libtool files" + + find "${ED}" -name '*.la' -delete || die "Failed to prune libtool files" } |