diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-14 16:31:06 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-14 16:31:06 +0000 |
commit | 5bb0ddf379c57c265e780e794e32622a3eba3adf (patch) | |
tree | 86ff2db00f9b6840ebd1fc2c13562f24e2518dff /media-gfx/cfe | |
parent | a52 useflag is no more in ffmpeg, add a --missing true option to built_with_use (diff) | |
download | gentoo-2-5bb0ddf379c57c265e780e794e32622a3eba3adf.tar.gz gentoo-2-5bb0ddf379c57c265e780e794e32622a3eba3adf.tar.bz2 gentoo-2-5bb0ddf379c57c265e780e794e32622a3eba3adf.zip |
Fix cflags handling by avoiding resetting them (rather than modifying the configure script). Die if the dobin fails.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'media-gfx/cfe')
-rw-r--r-- | media-gfx/cfe/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/cfe/cfe-0.12.ebuild | 21 |
2 files changed, 19 insertions, 10 deletions
diff --git a/media-gfx/cfe/ChangeLog b/media-gfx/cfe/ChangeLog index 650ccdfe90f7..c8bbf3ed45c7 100644 --- a/media-gfx/cfe/ChangeLog +++ b/media-gfx/cfe/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/cfe -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/cfe/ChangeLog,v 1.3 2007/02/09 07:50:00 flameeyes Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/cfe/ChangeLog,v 1.4 2008/10/14 16:31:06 flameeyes Exp $ + + 14 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> cfe-0.12.ebuild: + Fix cflags handling by avoiding resetting them (rather than modifying the + configure script). Die if the dobin fails. 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/media-gfx/cfe/cfe-0.12.ebuild b/media-gfx/cfe/cfe-0.12.ebuild index 0e92dbafa3cc..96d3ff58ee9b 100644 --- a/media-gfx/cfe/cfe-0.12.ebuild +++ b/media-gfx/cfe/cfe-0.12.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/cfe/cfe-0.12.ebuild,v 1.2 2005/07/22 18:13:42 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/cfe/cfe-0.12.ebuild,v 1.3 2008/10/14 16:31:05 flameeyes Exp $ -inherit eutils +WANT_AUTOCONF="2.1" + +inherit eutils autotools DESCRIPTION="Console font editor" # the homepage is missing, so if you find new location please let us know @@ -16,14 +18,17 @@ IUSE="" DEPEND="sys-libs/ncurses" -src_compile() { - sed -i -e "s/CFLAGS=\".*\"/CFLAGS=\"${CFLAGS}\"/" configure || die - econf || die - emake || die +src_unpack() { + unpack ${A} + cd "${S}" + + # Remove unconditional assignment of CFLAGS + sed -i -e '/GCC = yes/d' configure.in + eautoreconf } src_install() { - dobin cfe + dobin cfe || die "dobin cfe failed" doman cfe.1 dodoc ChangeLog INSTALL THANKS dummy.fnt } |