diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-03-16 05:06:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-03-16 05:06:44 +0000 |
commit | 8b446bb1558cb800aa17eeccb740ab73c8522f4c (patch) | |
tree | e03c8a8663d56cfe3106517bd95d42df9146354b /sys-devel | |
parent | Drop unused `mv` config call that spits a warning. (diff) | |
download | gentoo-2-8b446bb1558cb800aa17eeccb740ab73c8522f4c.tar.gz gentoo-2-8b446bb1558cb800aa17eeccb740ab73c8522f4c.tar.bz2 gentoo-2-8b446bb1558cb800aa17eeccb740ab73c8522f4c.zip |
Drop shared lib since it makes no sense #503522 by Andrés Becerra Sandoval.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/flex/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/flex/flex-2.5.38-r1.ebuild (renamed from sys-devel/flex/flex-2.5.38.ebuild) | 28 |
2 files changed, 16 insertions, 20 deletions
diff --git a/sys-devel/flex/ChangeLog b/sys-devel/flex/ChangeLog index 85389f536f57..8ec05ed9fd8c 100644 --- a/sys-devel/flex/ChangeLog +++ b/sys-devel/flex/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/flex # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.113 2014/02/13 08:19:23 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/ChangeLog,v 1.114 2014/03/16 05:06:44 vapier Exp $ + +*flex-2.5.38-r1 (16 Mar 2014) + + 16 Mar 2014; Mike Frysinger <vapier@gentoo.org> +flex-2.5.38-r1.ebuild, + -flex-2.5.38.ebuild: + Drop shared lib since it makes no sense #503522 by Andrés Becerra Sandoval. *flex-2.5.38 (13 Feb 2014) diff --git a/sys-devel/flex/flex-2.5.38.ebuild b/sys-devel/flex/flex-2.5.38-r1.ebuild index 16fd969421f2..04c20f418d08 100644 --- a/sys-devel/flex/flex-2.5.38.ebuild +++ b/sys-devel/flex/flex-2.5.38-r1.ebuild @@ -1,20 +1,14 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.38.ebuild,v 1.1 2014/02/13 08:19:23 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/flex/flex-2.5.38-r1.ebuild,v 1.1 2014/03/16 05:06:44 vapier Exp $ EAPI="4" -inherit eutils flag-o-matic toolchain-funcs - -if [[ ${PV} == *_p* ]] ; then - DEB_DIFF=${PN}_${PV/_p/-} -fi -MY_P=${P%_p*} +inherit flag-o-matic DESCRIPTION="The Fast Lexical Analyzer" HOMEPAGE="http://flex.sourceforge.net/" -SRC_URI="mirror://sourceforge/flex/${MY_P}.tar.bz2 - ${DEB_DIFF:+mirror://debian/pool/main/f/flex/${DEB_DIFF}.diff.gz}" +SRC_URI="mirror://sourceforge/flex/${P}.tar.xz" LICENSE="FLEX" SLOT="0" @@ -24,27 +18,23 @@ IUSE="nls static test" # We want bison explicitly and not yacc in general #381273 RDEPEND="sys-devel/m4" DEPEND="${RDEPEND} + app-arch/xz-utils nls? ( sys-devel/gettext ) test? ( sys-devel/bison )" -S=${WORKDIR}/${MY_P} - -DOCS="AUTHORS ChangeLog NEWS ONEWS README* THANKS TODO" - -src_prepare() { - [[ -n ${DEB_DIFF} ]] && epatch "${WORKDIR}"/${DEB_DIFF}.diff - sed -i "/^AR =/s:=.*:= $(tc-getAR):" Makefile.in || die #444086 -} - src_configure() { use static && append-ldflags -static + # Do not install shared libs #503522 econf \ + --disable-shared \ $(use_enable nls) \ - --docdir="${EPREFIX}"/usr/share/doc/${PF} + --docdir='$(datarootdir)/doc/'${PF} } src_install() { default + dodoc ONEWS + find "${ED}" -name '*.la' -delete rm "${ED}"/usr/share/doc/${PF}/{COPYING,flex.pdf} || die dosym flex /usr/bin/lex } |