summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-10-10 08:53:01 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-10-10 08:53:01 +0000
commit2f0d71418729ce78b0f59cdab5172638bebae654 (patch)
tree7b69ec9cac5e57f9563bed359efc70f4385764db /dev-libs/libmemcache
parentForced wxpython:2.8, see bug #229599 (diff)
downloadgentoo-2-2f0d71418729ce78b0f59cdab5172638bebae654.tar.gz
gentoo-2-2f0d71418729ce78b0f59cdab5172638bebae654.tar.bz2
gentoo-2-2f0d71418729ce78b0f59cdab5172638bebae654.zip
Bug #240222, use user CFLAGS.
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)
Diffstat (limited to 'dev-libs/libmemcache')
-rw-r--r--dev-libs/libmemcache/ChangeLog8
-rw-r--r--dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild18
2 files changed, 17 insertions, 9 deletions
diff --git a/dev-libs/libmemcache/ChangeLog b/dev-libs/libmemcache/ChangeLog
index f9edaec87eff..8215a98256c2 100644
--- a/dev-libs/libmemcache/ChangeLog
+++ b/dev-libs/libmemcache/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libmemcache
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcache/ChangeLog,v 1.24 2007/12/28 19:15:19 drac Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcache/ChangeLog,v 1.25 2008/10/10 08:53:01 robbat2 Exp $
+
+ 10 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
+ libmemcache-1.4.0_rc2-r1.ebuild:
+ Bug #240222, use user CFLAGS.
28 Dec 2007; Samuli Suominen <drac@gentoo.org>
libmemcache-1.2.4-r2.ebuild:
diff --git a/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild b/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild
index 77a0e829cffc..98e6eb9a63b7 100644
--- a/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild
+++ b/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.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/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild,v 1.1 2007/11/28 18:51:45 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild,v 1.2 2008/10/10 08:53:01 robbat2 Exp $
inherit toolchain-funcs autotools
@@ -25,17 +25,21 @@ src_unpack() {
cd "${S}"
rm -rf test/unit
sed -i -e '/DIR/s,unit,,g' test/Makefile.am
- sed -i -e 's,test/unit/Makefile,,g' configure.ac
+ sed -i \
+ -e 's,test/unit/Makefile,,g' \
+ -e '/^CFLAGS=.*Wall.*pipe/s,-Wall,${CFLAGS} -Wall,g' \
+ -e '/^OPTIMIZE=/d' \
+ -e '/^PROFILE=/d' \
+ configure.ac
eautoreconf
}
src_compile() {
- econf
- emake
- emake docs
+ econf || die "econf failed"
+ emake || die "emake failed"
}
src_install() {
- emake install DESTDIR="${D}"
+ emake install DESTDIR="${D}" || die "emake install failed"
dodoc ChangeLog
}