commit:     380a504decd875b1eaebe3b52886312ad36c445c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  4 11:08:45 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 11:08:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=380a504d

sys-devel/flex: drop 2.6.4-r5

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/flex/flex-2.6.4-r5.ebuild | 100 ------------------------------------
 1 file changed, 100 deletions(-)

diff --git a/sys-devel/flex/flex-2.6.4-r5.ebuild 
b/sys-devel/flex/flex-2.6.4-r5.ebuild
deleted file mode 100644
index 8ddca7e3c8ce..000000000000
--- a/sys-devel/flex/flex-2.6.4-r5.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic libtool multilib-minimal toolchain-funcs
-
-DESCRIPTION="The Fast Lexical Analyzer"
-HOMEPAGE="https://github.com/westes/flex";
-SRC_URI="https://github.com/westes/${PN}/releases/download/v${PV}/${P}.tar.gz";
-SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-autotools-regenerate.patch.xz";
-
-LICENSE="FLEX"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux -arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
-IUSE="nls static test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="sys-devel/m4"
-# We want bison explicitly and not yacc in general, bug #381273
-BDEPEND="
-       ${RDEPEND}
-       nls? ( sys-devel/gettext )
-       test? ( sys-devel/bison )
-"
-PDEPEND="app-alternatives/lex"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-libobjdir.patch
-       "${FILESDIR}"/${P}-fix-build-with-glibc2.26.patch
-
-       "${WORKDIR}"/${P}-autotools-regenerate.patch
-)
-
-src_prepare() {
-       default
-
-       # Drop on next release when we can remove 
${P}-autotools-regenerate.patch
-       touch configure.ac aclocal.m4 Makefile.in configure src/config.h.in || 
die
-
-       # Disable running in the tests/ subdir as it has a bunch of built 
sources
-       # that cannot be made conditional (automake limitation). bug #568842
-       if ! use test ; then
-               sed -i \
-                       -e '/^SUBDIRS =/,/^$/{/tests/d}' \
-                       Makefile.in || die
-       fi
-
-       # Prefix always needs this
-       elibtoolize
-}
-
-src_configure() {
-       use static && append-ldflags -static
-
-       multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
-       # Do not install shared libs, #503522
-       ECONF_SOURCE="${S}" econf \
-               CC_FOR_BUILD="$(tc-getBUILD_CC)" \
-               --disable-shared \
-               $(use_enable nls)
-}
-
-multilib_src_compile() {
-       if multilib_is_native_abi; then
-               default
-       else
-               emake -C src -f Makefile -f - lib <<< 'lib: $(lib_LTLIBRARIES)'
-       fi
-}
-
-multilib_src_test() {
-       multilib_is_native_abi && emake check
-}
-
-multilib_src_install() {
-       if multilib_is_native_abi; then
-               default
-       else
-               emake -C src DESTDIR="${D}" install-libLTLIBRARIES 
install-includeHEADERS
-       fi
-}
-
-multilib_src_install_all() {
-       einstalldocs
-       dodoc ONEWS
-       find "${ED}" -name '*.la' -type f -delete || die
-       rm "${ED}"/usr/share/doc/${PF}/COPYING || die
-}
-
-pkg_postinst() {
-       # ensure to preserve the symlink before app-alternatives/lex
-       # is installed
-       if [[ ! -h ${EROOT}/usr/bin/lex ]]; then
-               ln -s flex "${EROOT}/usr/bin/lex" || die
-       fi
-}

Reply via email to