summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/flex/flex-2.5.35.ebuild')
-rw-r--r--sys-devel/flex/flex-2.5.35.ebuild43
1 files changed, 0 insertions, 43 deletions
diff --git a/sys-devel/flex/flex-2.5.35.ebuild b/sys-devel/flex/flex-2.5.35.ebuild
deleted file mode 100644
index 8477cb9e20be..000000000000
--- a/sys-devel/flex/flex-2.5.35.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils flag-o-matic
-
-#DEB_VER=36
-DESCRIPTION="The Fast Lexical Analyzer"
-HOMEPAGE="http://flex.sourceforge.net/"
-SRC_URI="mirror://sourceforge/flex/${P}.tar.bz2"
-# mirror://debian/pool/main/f/flex/${PN}_${PV}-${DEB_VER}.diff.gz"
-
-LICENSE="FLEX"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="nls static test"
-
-RDEPEND="sys-devel/m4"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )
- test? ( sys-devel/bison )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- [[ -n ${DEB_VER} ]] && epatch "${WORKDIR}"/${PN}_${PV}-${DEB_VER}.diff
- epatch "${FILESDIR}"/${PN}-2.5.34-isatty.patch #119598
- epatch "${FILESDIR}"/${PN}-2.5.33-pic.patch
- epatch "${FILESDIR}"/${PN}-2.5.35-gcc44.patch
- sed -i 's:^LDFLAGS:LOADLIBES:' tests/test-pthread/Makefile.in #262989
-}
-
-src_compile() {
- use static && append-ldflags -static
- econf $(use_enable nls) || die
- emake || die
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die "make install failed"
- dodoc AUTHORS ChangeLog NEWS ONEWS README* THANKS TODO
- dosym flex /usr/bin/lex
-}