From 92892049c77c0fa6a0c1634c6101e09f1afbdd2b Mon Sep 17 00:00:00 2001 From: Benedikt Boehm Date: Thu, 10 Jan 2008 15:57:18 +0000 Subject: fix #205170 (Portage version: 2.1.4_rc11) --- www-apache/mod_cplusplus/mod_cplusplus-1.5.4.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'www-apache/mod_cplusplus/mod_cplusplus-1.5.4.ebuild') diff --git a/www-apache/mod_cplusplus/mod_cplusplus-1.5.4.ebuild b/www-apache/mod_cplusplus/mod_cplusplus-1.5.4.ebuild index c491c83c4166..f15905361c89 100644 --- a/www-apache/mod_cplusplus/mod_cplusplus-1.5.4.ebuild +++ b/www-apache/mod_cplusplus/mod_cplusplus-1.5.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_cplusplus/mod_cplusplus-1.5.4.ebuild,v 1.1 2007/09/08 18:48:09 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_cplusplus/mod_cplusplus-1.5.4.ebuild,v 1.2 2008/01/10 15:57:17 hollow Exp $ inherit apache-module autotools @@ -25,8 +25,15 @@ need_apache2 S="${WORKDIR}/${PN}" -src_compile() { +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i -e 's/-Werror //g' configure.in eautoreconf +} + +src_compile() { econf --with-apxs=${APXS2} || die "econf failed" emake || die "emake failed" } -- cgit v1.2.3-65-gdbad