1 |
commit: 35e91e1f0aa8172f30a87ec094c4c3a51c35ed22 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Feb 14 15:40:39 2018 +0000 |
4 |
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 15 15:01:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e91e1f |
7 |
|
8 |
dev-db/mongodb: add upgrade note |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-db/mongodb/mongodb-3.6.2.ebuild | 4 +++- |
13 |
1 file changed, 3 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-db/mongodb/mongodb-3.6.2.ebuild b/dev-db/mongodb/mongodb-3.6.2.ebuild |
16 |
index a532e30e466..5297f47b0f1 100644 |
17 |
--- a/dev-db/mongodb/mongodb-3.6.2.ebuild |
18 |
+++ b/dev-db/mongodb/mongodb-3.6.2.ebuild |
19 |
@@ -63,6 +63,8 @@ pkg_pretend() { |
20 |
ewarn "To upgrade from a version earlier than the 3.4-series, you must" |
21 |
ewarn "successively upgrade major releases until you have upgraded" |
22 |
ewarn "to 3.4-series. Then upgrade to 3.6 series." |
23 |
+ elif [[ -n ${REPLACING_VERSIONS} ]]; then |
24 |
+ ewarn "Be sure to set featureCompatibilityVersion to 3.4 before upgrading." |
25 |
fi |
26 |
} |
27 |
|
28 |
@@ -84,9 +86,9 @@ src_prepare() { |
29 |
} |
30 |
|
31 |
src_configure() { |
32 |
+ # https://github.com/mongodb/mongo/wiki/Build-Mongodb-From-Source |
33 |
# --use-system-icu fails tests |
34 |
# --use-system-tcmalloc is strongly NOT recommended: |
35 |
- # https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/ |
36 |
scons_opts=( |
37 |
CC="$(tc-getCC)" |
38 |
CXX="$(tc-getCXX)" |