summaryrefslogtreecommitdiff
path: root/sys-devel/flex
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/flex')
-rw-r--r--sys-devel/flex/Manifest1
-rw-r--r--sys-devel/flex/flex-2.6.4-r5.ebuild100
2 files changed, 0 insertions, 101 deletions
diff --git a/sys-devel/flex/Manifest b/sys-devel/flex/Manifest
index 006b0413273d..3f3730e7fffe 100644
--- a/sys-devel/flex/Manifest
+++ b/sys-devel/flex/Manifest
@@ -3,6 +3,5 @@ AUX flex-2.6.4-fix-build-with-glibc2.26.patch 8623 BLAKE2B 59433c6a35a05633a9e96
AUX flex-2.6.4-libobjdir.patch 770 BLAKE2B 0771af247117123e3efed3e2a0c8a71573c81dc1e8d2e364a887aa49d3bf3a5198042396d1df1e2c0ae196df098241eba0e2b35e953f9a5be3d43d2408a97536 SHA512 76e3a3e19fe9c9b6b3e0fcfea98feb0eaf03fdc683e3695045b3246b57538a52842b455a9aebed87548d2b8ee3e7d34dca5ff355f06648911866b3b621b40f86
DIST flex-2.6.4-autotools-regenerate.patch.xz 282588 BLAKE2B 3995b8b5e354a43b1a4ff72fae76027c904ddb24eb8e5d55fc6fbe81299f48fa70ac3c4a98b9ed39aca8a98190d6db5005cacb96ec1016d413860d84a434dcc0 SHA512 9efd3197fdf7f8435dfbf4dafbe6b99c1fafede0ec364dbeb9cca81711763d693bc5d30fc3b2af038a44f8848577d19dd737e3afe0cd3b08ab79daea64fcdefa
DIST flex-2.6.4.tar.gz 1419096 BLAKE2B c003d4f764f7f4d41e33af7ee28c2af272a9f0aee6ba7c2494ba96722d8d0b18f7a3f745217e9a2cecb43b6863328267a810280670c04464156b3eb3d7ee9d62 SHA512 e9785f3d620a204b7d20222888917dc065c2036cae28667065bf7862dfa1b25235095a12fd04efdbd09bfd17d3452e6b9ef953a8c1137862ff671c97132a082e
-EBUILD flex-2.6.4-r5.ebuild 2473 BLAKE2B 70b4178ada08846bf2f9fafc4767f5d8e796ff87744b489aac5e1bd1e32175f4a98393cbe7f510bcbd73b6dd58004fdf5e0bbae482e1f1009f22611a9fe27a07 SHA512 ec47b9fb66aef8d47082942e230f23d913d559d6dceb7eebc56b20b078bc2446b03d9596674ee205f0bed3e13fcf5cd6e201e9c35a025e31ef3975249ea6ab1a
EBUILD flex-2.6.4-r6.ebuild 2543 BLAKE2B 8391b3ce18da341e561524028f96da1b76b97357d73a80f773e72347f4032739c018b92b94c2c0c32063a3f631912c75de76759ce3b8f3efba3dddb2632560db SHA512 5ada4d8e250d3b610ce011d0407913caaffd6c464bc3ccee3b4c1633322fb5f236fcea2ba8852c88d93a1729c3fa08fcf360339cc470f546c3021a61791510e3
MISC metadata.xml 444 BLAKE2B 28bd0cd35c6ab4386dffdf221e6b43927e47971bea62a0f0395e3cd6725567114675055dc1267ce5ffbd42fe4731a806b4e5666ea6b83ad4bcf4d35b5529ce85 SHA512 53f91d714d7f4401f7d986d743c08a817d794147f9b277d829a4e8065ce91ce00123cd5b42957af60ef9051568a214b7ce791aa8a4baf82a5179859971357d56
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
-}