From e664d0e61c371b3e23a1e32a9c3d3eb7395302e6 Mon Sep 17 00:00:00 2001 From: Patrick Kursawe Date: Sun, 11 Jan 2009 16:58:35 +0000 Subject: Bug #243658: Respects and now, inserted a missing include directive. (Portage version: 2.1.4.5) --- app-misc/mepl/ChangeLog | 7 +++++-- app-misc/mepl/mepl-0.45.ebuild | 16 +++++++++++++--- 2 files changed, 18 insertions(+), 5 deletions(-) (limited to 'app-misc') diff --git a/app-misc/mepl/ChangeLog b/app-misc/mepl/ChangeLog index ae621cebcc8b..66aeef12d811 100644 --- a/app-misc/mepl/ChangeLog +++ b/app-misc/mepl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-misc/mepl -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mepl/ChangeLog,v 1.8 2007/02/09 07:16:03 flameeyes Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mepl/ChangeLog,v 1.9 2009/01/11 16:58:35 phosphan Exp $ + + 11 Jan 2009; Patrick Kursawe mepl-0.45.ebuild: + Bug #243658: Respects and now, inserted a missing include directive. 09 Feb 2007; Diego Pettenò ChangeLog: Regenerate digest in Manifest2 format. diff --git a/app-misc/mepl/mepl-0.45.ebuild b/app-misc/mepl/mepl-0.45.ebuild index d7320812fb3e..0a4e727ff927 100644 --- a/app-misc/mepl/mepl-0.45.ebuild +++ b/app-misc/mepl/mepl-0.45.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mepl/mepl-0.45.ebuild,v 1.8 2005/07/21 17:21:57 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/mepl/mepl-0.45.ebuild,v 1.9 2009/01/11 16:58:35 phosphan Exp $ + +inherit toolchain-funcs DESCRIPTION="Self-employed-mode software for 3COM/USR message modems" HOMEPAGE="http://www.hof-berlin.de/mepl/" @@ -15,8 +17,16 @@ DEPEND="virtual/libc" S=${WORKDIR}/${PN}${PV} +src_unpack() { + unpack ${A} + cd "${S}" + echo "#include " > tmpmepl.c + cat mepl.c >> tmpmepl.c + mv tmpmepl.c mepl.c +} + src_compile() { - emake en || die + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -DMEPLCONFIG=\\\"/etc/mepl.conf\\\"" en || die } src_install() { -- cgit v1.2.3-65-gdbad