diff options
Diffstat (limited to 'dev-util/unifdef/unifdef-1.20.ebuild')
-rw-r--r-- | dev-util/unifdef/unifdef-1.20.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-util/unifdef/unifdef-1.20.ebuild b/dev-util/unifdef/unifdef-1.20.ebuild index 70c23dc17daa..6e6fcbdc83dc 100644 --- a/dev-util/unifdef/unifdef-1.20.ebuild +++ b/dev-util/unifdef/unifdef-1.20.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/unifdef/unifdef-1.20.ebuild,v 1.4 2007/05/23 16:29:47 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/unifdef/unifdef-1.20.ebuild,v 1.5 2009/05/19 07:14:45 vapier Exp $ DESCRIPTION="remove #ifdef'ed lines from a file while otherwise leaving the file alone" HOMEPAGE="http://freshmeat.net/projects/unifdef/" @@ -15,6 +15,12 @@ DEPEND="" S=${WORKDIR}/${P}/Debian +src_unpack() { + unpack ${A} + cd "${S}" + sed -i 's:\<getline\>:get_line:' */unifdef.c || die #270369 +} + src_install() { emake install DESTDIR="${D}" || die dodoc ../README.Gentoo README |