summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild')
-rw-r--r--dev-libs/libmemcache/libmemcache-1.4.0_rc2-r1.ebuild18
1 files changed, 11 insertions, 7 deletions
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
}