summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-03-29 07:55:33 +0000
committerJeroen Roovers <jer@gentoo.org>2015-03-29 07:55:33 +0000
commit6114ae76265440457317ab682e35d0fee1ed289e (patch)
tree373528ff677855a9ae3c1c284bafdfdbcde853c5 /dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
parentinitial commit (diff)
downloadhistorical-6114ae76265440457317ab682e35d0fee1ed289e.tar.gz
historical-6114ae76265440457317ab682e35d0fee1ed289e.tar.bz2
historical-6114ae76265440457317ab682e35d0fee1ed289e.zip
Ensure src/libbson is never even prepared.
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild')
-rw-r--r--dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
index b1c4e0d55be4..5e682c31e4a4 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild,v 1.1 2015/03/23 09:02:26 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild,v 1.2 2015/03/29 07:55:28 jer Exp $
EAPI=5
@@ -24,6 +24,9 @@ DEPEND="${RDEPEND}
DOCS=( NEWS README.rst TUTORIAL.md )
src_prepare() {
+ rm -r src/libbson || die
+ sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die
+
# https://github.com/mongodb/mongo-c-driver/issues/54
sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \
tests/Makefile.am || die