diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-27 00:47:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-27 00:47:12 +0000 |
commit | 8e45a21b68c79d8ae551e9522e1b95c837534074 (patch) | |
tree | a8fd8407dcb41dc9659da767451544bed76b32d1 /sys-devel/flex | |
parent | Version bump to 0.09.2. Introduces dependency on confuse and glib. Closes bu... (diff) | |
download | gentoo-2-8e45a21b68c79d8ae551e9522e1b95c837534074.tar.gz gentoo-2-8e45a21b68c79d8ae551e9522e1b95c837534074.tar.bz2 gentoo-2-8e45a21b68c79d8ae551e9522e1b95c837534074.zip |
Fix build failure with wine #124084 by Peter Fox.
(Portage version: 2.1_pre5)
Diffstat (limited to 'sys-devel/flex')
-rw-r--r-- | sys-devel/flex/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/flex/files/digest-flex-2.5.33-r1 | 3 | ||||
-rw-r--r-- | sys-devel/flex/flex-2.5.33-r1.ebuild | 40 |
3 files changed, 49 insertions, 1 deletions
diff --git a/sys-devel/flex/ChangeLog b/sys-devel/flex/ChangeLog index f4523978ac19..6cc2906aab4f 100644 --- a/sys-devel/flex/ChangeLog +++ b/sys-devel/flex/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/flex # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.47 2006/02/26 19:59:51 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.48 2006/02/27 00:47:12 vapier Exp $ + +*flex-2.5.33-r1 (27 Feb 2006) + + 27 Feb 2006; Mike Frysinger <vapier@gentoo.org> +flex-2.5.33-r1.ebuild: + Fix build failure with wine #124084 by Peter Fox. 26 Feb 2006; Tobias Scherbaum <dertobi123@gentoo.org> flex-2.5.33.ebuild: ppc stable diff --git a/sys-devel/flex/files/digest-flex-2.5.33-r1 b/sys-devel/flex/files/digest-flex-2.5.33-r1 new file mode 100644 index 000000000000..7a65ac6d8d99 --- /dev/null +++ b/sys-devel/flex/files/digest-flex-2.5.33-r1 @@ -0,0 +1,3 @@ +MD5 343374a00b38d9e39d1158b71af37150 flex-2.5.33.tar.bz2 695464 +RMD160 360e08457d324c5b87c02b0ed61983877c173c98 flex-2.5.33.tar.bz2 695464 +SHA256 53b56a62ea9409b99b7a0ac4a5204fac16ca7eaf39b9374164c346d6badc6914 flex-2.5.33.tar.bz2 695464 diff --git a/sys-devel/flex/flex-2.5.33-r1.ebuild b/sys-devel/flex/flex-2.5.33-r1.ebuild new file mode 100644 index 000000000000..3b6a24c126dc --- /dev/null +++ b/sys-devel/flex/flex-2.5.33-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.33-r1.ebuild,v 1.1 2006/02/27 00:47:12 vapier Exp $ + +inherit eutils flag-o-matic + +#DEB_VER=36 +DESCRIPTION="GNU lexical analyser generator" +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 ~ppc-macos ppc64 ~s390 ~sh ~sparc x86" +IUSE="nls static" + +DEPEND="nls? ( sys-devel/gettext )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + [[ -n ${DEB_VER} ]] && epatch "${WORKDIR}"/${PN}_${PV}-${DEB_VER}.diff + epatch "${FILESDIR}"/${PN}-2.5.31-include.patch + epatch "${FILESDIR}"/${P}-isatty.patch #119598 + sed -i -e 's:yystr:__yystr:g' flex.skl skel.c #124084 +} + +src_compile() { + use static && append-ldflags -static + econf $(use_enable nls) || die + emake || die +} + +src_install() { + make install DESTDIR="${D}" || die "make install failed" + dodoc AUTHORS ChangeLog NEWS ONEWS README* RoadMap THANKS TODO + dosym flex /usr/bin/lex +} |