From cdca8109d6d09b7f7b8ddcba55f9e1eb09332161 Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Mon, 15 Aug 2022 22:23:37 +0200 Subject: databases/mongodb50: Use more external libraries Make use of following libraries in tree: devel/boost-libs textproc/snowballstemmer devel/libunwind devel/yaml-cpp archivers/zstd While at it remove mtune option on amd64 as it potentially overrides CPUTYPE set by ports framework References: [1] https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-db/mongodb/files/mongodb-4.4.1-boost.patch https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-db/mongodb/files/mongodb-5.0.2-boost-1.79.patch PR: 265210 Reviewed by: Ronald Klop (maintainer) --- databases/mongodb50/files/patch-SConstruct | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'databases/mongodb50/files/patch-SConstruct') diff --git a/databases/mongodb50/files/patch-SConstruct b/databases/mongodb50/files/patch-SConstruct index fa8b0bb3ca4f..01af9a42437c 100644 --- a/databases/mongodb50/files/patch-SConstruct +++ b/databases/mongodb50/files/patch-SConstruct @@ -43,3 +43,12 @@ "i386" : { "-march=" : "nocona", "-mtune=" : "generic" }, "ppc64le" : { "-mcpu=" : "power8", "-mtune=" : "power8", "-mcmodel=" : "medium" }, "s390x" : { "-march=" : "z196", "-mtune=" : "zEC12" }, +@@ -2554,7 +2558,7 @@ if not env.TargetOSIs('windows', 'macOS') and (env.Too + if "sandybridge" in selected_experimental_optimizations: + default_targeting_flags_for_architecture["x86_64"] = { + "-march=" : "sandybridge", +- "-mtune=" : "generic", ++ # "-mtune=" : "generic", + "-mprefer-vector-width=" : "128", + } + -- cgit v1.2.3