commit:     35e91e1f0aa8172f30a87ec094c4c3a51c35ed22
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Wed Feb 14 15:40:39 2018 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 15:01:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e91e1f

dev-db/mongodb: add upgrade note

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/mongodb/mongodb-3.6.2.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-db/mongodb/mongodb-3.6.2.ebuild 
b/dev-db/mongodb/mongodb-3.6.2.ebuild
index a532e30e466..5297f47b0f1 100644
--- a/dev-db/mongodb/mongodb-3.6.2.ebuild
+++ b/dev-db/mongodb/mongodb-3.6.2.ebuild
@@ -63,6 +63,8 @@ pkg_pretend() {
                ewarn "To upgrade from a version earlier than the 3.4-series, 
you must"
                ewarn "successively upgrade major releases until you have 
upgraded"
                ewarn "to 3.4-series. Then upgrade to 3.6 series."
+       elif [[ -n ${REPLACING_VERSIONS} ]]; then
+               ewarn "Be sure to set featureCompatibilityVersion to 3.4 before 
upgrading."
        fi
 }
 
@@ -84,9 +86,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source
        # --use-system-icu fails tests
        # --use-system-tcmalloc is strongly NOT recommended:
-       # 
https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
        scons_opts=(
                CC="$(tc-getCC)"
                CXX="$(tc-getCXX)"

Reply via email to