diff options
author | David Michael <fedora.dm0@gmail.com> | 2021-03-23 14:30:40 -0400 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-03-23 21:58:41 +0100 |
commit | 6847596cf8255fd944662fe169ffdadca19cbbdf (patch) | |
tree | 8425863d515ac8d67f75cdff331fbb14b8911ce6 /sys-devel/flex/flex-2.6.4-r1.ebuild | |
parent | dev-db/percona-xtrabackup: bump to v2.4.22 (diff) | |
download | gentoo-6847596cf8255fd944662fe169ffdadca19cbbdf.tar.gz gentoo-6847596cf8255fd944662fe169ffdadca19cbbdf.tar.bz2 gentoo-6847596cf8255fd944662fe169ffdadca19cbbdf.zip |
sys-devel/flex: EAPI 7
Closes: https://bugs.gentoo.org/777906
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-devel/flex/flex-2.6.4-r1.ebuild')
-rw-r--r-- | sys-devel/flex/flex-2.6.4-r1.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sys-devel/flex/flex-2.6.4-r1.ebuild b/sys-devel/flex/flex-2.6.4-r1.ebuild index 71c554a4c79c..2470db3ad1ac 100644 --- a/sys-devel/flex/flex-2.6.4-r1.ebuild +++ b/sys-devel/flex/flex-2.6.4-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=7 -inherit eutils flag-o-matic libtool ltprune multilib-minimal toolchain-funcs +inherit flag-o-matic libtool multilib-minimal toolchain-funcs DESCRIPTION="The Fast Lexical Analyzer" HOMEPAGE="https://flex.sourceforge.net/ https://github.com/westes/flex" @@ -17,8 +17,7 @@ RESTRICT="!test? ( test )" # We want bison explicitly and not yacc in general #381273 RDEPEND="sys-devel/m4" -DEPEND="${RDEPEND} - app-arch/xz-utils +BDEPEND="${RDEPEND} nls? ( sys-devel/gettext ) test? ( sys-devel/bison )" @@ -59,8 +58,7 @@ multilib_src_compile() { if multilib_is_native_abi; then default else - cd src || die - emake -f Makefile -f - lib <<< 'lib: $(lib_LTLIBRARIES)' + emake -C src -f Makefile -f - lib <<< 'lib: $(lib_LTLIBRARIES)' fi } @@ -72,15 +70,14 @@ multilib_src_install() { if multilib_is_native_abi; then default else - cd src || die - emake DESTDIR="${D}" install-libLTLIBRARIES install-includeHEADERS + emake -C src DESTDIR="${D}" install-libLTLIBRARIES install-includeHEADERS fi } multilib_src_install_all() { einstalldocs dodoc ONEWS - prune_libtool_files --all + find "${ED}" -name '*.la' -type f -delete || die rm "${ED}"/usr/share/doc/${PF}/COPYING || die dosym flex /usr/bin/lex } |