summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-05-30 20:03:47 +0000
committerMike Frysinger <vapier@gentoo.org>2012-05-30 20:03:47 +0000
commitbf3192fe96245c41efee396f67b274773b064f3b (patch)
tree5aa650424c8154c510e2b1573c12433ff7f1b51e /dev-cpp/gmock/gmock-1.4.0.ebuild
parentwork around gettext issue (bug #418267) (diff)
downloadgentoo-2-bf3192fe96245c41efee396f67b274773b064f3b.tar.gz
gentoo-2-bf3192fe96245c41efee396f67b274773b064f3b.tar.bz2
gentoo-2-bf3192fe96245c41efee396f67b274773b064f3b.zip
Fix via ChromiumOS from upstream for building with gcc-4.7.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp/gmock/gmock-1.4.0.ebuild')
-rw-r--r--dev-cpp/gmock/gmock-1.4.0.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-cpp/gmock/gmock-1.4.0.ebuild b/dev-cpp/gmock/gmock-1.4.0.ebuild
index 3fe4fa8d3801..1777a2ee36b4 100644
--- a/dev-cpp/gmock/gmock-1.4.0.ebuild
+++ b/dev-cpp/gmock/gmock-1.4.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gmock/gmock-1.4.0.ebuild,v 1.2 2011/11/11 20:35:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gmock/gmock-1.4.0.ebuild,v 1.3 2012/05/30 20:03:47 vapier Exp $
EAPI="4"
-inherit libtool
+inherit libtool eutils
DESCRIPTION="Google's C++ mocking framework"
HOMEPAGE="http://code.google.com/p/googlemock/"
@@ -25,6 +25,7 @@ src_unpack() {
}
src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc-4.7.patch
elibtoolize
}
@@ -34,5 +35,5 @@ src_configure() {
src_install() {
default
- use static-libs || find "${D}" -name '*.la' -delete
+ use static-libs || find "${ED}"/usr -name '*.la' -delete
}