From f9073af638653bb24b22f247b96cf12bd1ff0192 Mon Sep 17 00:00:00 2001 From: Aaron Walker Date: Wed, 13 Apr 2005 14:21:05 +0000 Subject: sed CFLAGS in Makefile instead of completely overriding them so that -I. is included. Package-Manager: portage-2.0.51.19 --- dev-libs/cgilib/ChangeLog | 6 +++++- dev-libs/cgilib/Manifest | 10 +++++----- dev-libs/cgilib/cgilib-0.5.ebuild | 9 ++++++--- 3 files changed, 16 insertions(+), 9 deletions(-) (limited to 'dev-libs/cgilib') diff --git a/dev-libs/cgilib/ChangeLog b/dev-libs/cgilib/ChangeLog index 29189004f3ab..07fd416d7cd2 100644 --- a/dev-libs/cgilib/ChangeLog +++ b/dev-libs/cgilib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/cgilib # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgilib/ChangeLog,v 1.1 2005/04/12 12:15:09 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgilib/ChangeLog,v 1.2 2005/04/13 14:21:05 ka0ttic Exp $ + + 13 Apr 2005; Aaron Walker cgilib-0.5.ebuild: + sed CFLAGS in Makefile instead of completely overriding them so that -I. is + included. *cgilib-0.5 (12 Apr 2005) diff --git a/dev-libs/cgilib/Manifest b/dev-libs/cgilib/Manifest index dec05f807e7a..0d89d56c6753 100644 --- a/dev-libs/cgilib/Manifest +++ b/dev-libs/cgilib/Manifest @@ -1,14 +1,14 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 e58a4c20c39809356581671ef96a5f39 cgilib-0.5.ebuild 642 -MD5 37660d85876355bb223e64362964117f ChangeLog 434 +MD5 8a26c554298e48894077e0d40ad8ccba cgilib-0.5.ebuild 710 +MD5 71c75ed376aa3a4e52ed8ddebd8c1932 ChangeLog 593 MD5 637389da071d8ee0c0292695525bc29f metadata.xml 160 MD5 7b0e4e09c6696f543a80f54e6d9de1f8 files/digest-cgilib-0.5 61 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCW7wFEZCkKN40op4RApVdAKCvFv7mMPEBUhHTFrCWUgm3xp4wRwCfRZDj -LEPpKSA9W14IIeYbZsgmjIk= -=fVSG +iD8DBQFCXSrnEZCkKN40op4RAhegAKDDQrEmVx3CXwdfakIZ9USyFK6gWACgtDVB +JfBKf0YcjSZf4c6I52ZPfl8= +=5mzh -----END PGP SIGNATURE----- diff --git a/dev-libs/cgilib/cgilib-0.5.ebuild b/dev-libs/cgilib/cgilib-0.5.ebuild index 2b8304d2153e..477818799d99 100644 --- a/dev-libs/cgilib/cgilib-0.5.ebuild +++ b/dev-libs/cgilib/cgilib-0.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgilib/cgilib-0.5.ebuild,v 1.1 2005/04/12 12:15:09 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgilib/cgilib-0.5.ebuild,v 1.2 2005/04/13 14:21:05 ka0ttic Exp $ DESCRIPTION="A programmers library for the CGI interface" HOMEPAGE="http://www.infodrom.org/projects/cgilib/" @@ -11,8 +11,11 @@ SLOT="0" KEYWORDS="~x86" IUSE="" -src_compile() { - emake CFLAGS="${CFLAGS}" || die "emake failed" +src_unpack() { + unpack ${A} + cd ${S} + sed -i "s|^\(CFLAGS = -I. -Wall\).*$|\1 ${CFLAGS}|" Makefile || \ + die "sed Makefile failed" } src_install() { -- cgit v1.2.3-65-gdbad