diff options
author | Benda XU <heroxbd@gentoo.org> | 2013-08-30 07:02:29 +0000 |
---|---|---|
committer | Benda XU <heroxbd@gentoo.org> | 2013-08-30 07:02:29 +0000 |
commit | bcdbe3a102d9279cb85db06b6485745f27fe23a6 (patch) | |
tree | 83ac741290e66f74df867201c4b03fea994ab6f7 /dev-db/mongodb | |
parent | Put stable tarball on devspace, new checksum. (diff) | |
download | gentoo-2-bcdbe3a102d9279cb85db06b6485745f27fe23a6.tar.gz gentoo-2-bcdbe3a102d9279cb85db06b6485745f27fe23a6.tar.bz2 gentoo-2-bcdbe3a102d9279cb85db06b6485745f27fe23a6.zip |
add Prefix support for headers and libraries, bug 482178
(Portage version: 2.2.0/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-db/mongodb')
-rw-r--r-- | dev-db/mongodb/ChangeLog | 5 | ||||
-rw-r--r-- | dev-db/mongodb/mongodb-2.4.6.ebuild | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-db/mongodb/ChangeLog b/dev-db/mongodb/ChangeLog index a436288a31e9..4de08da20a17 100644 --- a/dev-db/mongodb/ChangeLog +++ b/dev-db/mongodb/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-db/mongodb # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.75 2013/08/21 12:41:54 ultrabug Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.76 2013/08/30 07:02:29 heroxbd Exp $ + + 30 Aug 2013; Benda Xu <heroxbd@gentoo.org> mongodb-2.4.6.ebuild: + add Prefix support for headers and libraries, bug 482178 *mongodb-2.4.6 (21 Aug 2013) *mongodb-2.2.6 (21 Aug 2013) diff --git a/dev-db/mongodb/mongodb-2.4.6.ebuild b/dev-db/mongodb/mongodb-2.4.6.ebuild index ace5439c2d80..c62a8c664ee1 100644 --- a/dev-db/mongodb/mongodb-2.4.6.ebuild +++ b/dev-db/mongodb/mongodb-2.4.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.4.6.ebuild,v 1.1 2013/08/21 12:41:54 ultrabug Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.4.6.ebuild,v 1.2 2013/08/30 07:02:29 heroxbd Exp $ EAPI=4 SCONS_MIN_VERSION="1.2.0" @@ -47,6 +47,11 @@ pkg_setup() { scons_opts+=" --use-system-snappy" scons_opts+=" --use-system-boost" + if use prefix; then + scons_opts+=" --cpppath=${EPREFIX}/usr/include" + scons_opts+=" --libpath=${EPREFIX}/usr/$(get_libdir)" + fi + if use kerberos; then scons_opts+=" --use-sasl-client" fi |