ultrabug    14/08/07 09:05:45

  Modified:             ChangeLog
  Added:                mongo-c-driver-0.7.1-r1.ebuild
  Log:
  fix #510722 thx to Chema Alonso
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
B658FA13)

Revision  Changes    Path
1.13                 dev-libs/mongo-c-driver/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog?rev=1.13&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog?rev=1.13&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog   29 Jul 2014 10:20:45 -0000      1.12
+++ ChangeLog   7 Aug 2014 09:05:45 -0000       1.13
@@ -1,6 +1,11 @@
 # ChangeLog for dev-libs/mongo-c-driver
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.12 
2014/07/29 10:20:45 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.13 
2014/08/07 09:05:45 ultrabug Exp $
+
+*mongo-c-driver-0.7.1-r1 (07 Aug 2014)
+
+  07 Aug 2014; Ultrabug <[email protected]> +mongo-c-driver-0.7.1-r1.ebuild:
+  fix #510722 thx to Chema Alonso
 
   29 Jul 2014; Jeroen Roovers <[email protected]> mongo-c-driver-0.98.0.ebuild:
   Marked ~hppa (bug #517880).



1.1                  dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild?rev=1.1&content-type=text/plain

Index: mongo-c-driver-0.7.1-r1.ebuild
===================================================================
# Copyright 1999-2014 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-0.7.1-r1.ebuild,v
 1.1 2014/08/07 09:05:45 ultrabug Exp $

EAPI=5
PYTHON_COMPAT=(python2_7)

inherit multilib python-r1 toolchain-funcs

DESCRIPTION="C Driver for MongoDB"
HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver";
SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
IUSE="doc static-libs"

# tests fails to build
RESTRICT="test"

RDEPEND=""
DEPEND="doc? ( dev-python/sphinx )"

src_unpack() {
        unpack ${A}
        mv *-${PN}-* "${S}"
}

src_prepare() {
        # bug #510722
        sed -e 's/-O3//g' \
                -e 's/-ggdb//g' \
                -e "s/CC:=.*/CC:=$(tc-getCC)/g" \
                -i Makefile || die
}

src_compile() {
        emake
        use doc && make -C docs/source/sphinx html
}

src_install() {
        emake install \
                INSTALL_LIBRARY_PATH="${D}/usr/$(get_libdir)" \
                INSTALL_INCLUDE_PATH="${D}/usr/include"

        use static-libs || find "${ED}" -name '*.a' -exec rm -f {} +

        use doc && dohtml -r docs/source/sphinx/build/html/*
}




Reply via email to