summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/cgilib/cgilib-0.5.ebuild')
-rw-r--r--dev-libs/cgilib/cgilib-0.5.ebuild9
1 files changed, 6 insertions, 3 deletions
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() {