gentoo/dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch

44 lines
1.6 KiB
Diff
Raw Normal View History

2023-03-03 18:59:39 +01:00
diff --git a/src/mongo/SConscript b/src/mongo/SConscript
index 62fbfc02..5be336f7 100644
--- a/src/mongo/SConscript
+++ b/src/mongo/SConscript
@@ -841,30 +841,6 @@ for full_dir, archive_dir in list(env["ARCHIVE_ADDITION_DIR_MAP"].items()):
for target in env["DIST_BINARIES"]:
installBinary(env, "db/modules/" + target)
-compass_script = "install_compass"
-if env.TargetOSIs('windows'):
- compass_script = "Install-Compass.ps1"
-
-compass_installer = f"$BUILD_DIR/mongo/installer/compass/{compass_script}"
-
-distBinaries.append(compass_installer)
-
-if not hygienic:
- compass_script_installer = env.Install("$DESTDIR/bin", compass_installer)
-else:
- compass_script_installer = env.AutoInstall(
- target='$PREFIX_BINDIR',
- source=[
- compass_installer,
- ],
- AIB_COMPONENT='dist',
- AIB_ROLE='runtime',
- )
-
-if env.TargetOSIs('posix'):
- env.AddPostAction( compass_script_installer, 'chmod 755 $TARGET' )
- env.AddPostAction( compass_installer, 'chmod 755 $TARGET' )
-
if not hygienic:
server_archive = env.Command(
target='#/${SERVER_ARCHIVE}',
@@ -878,7 +854,6 @@ if not hygienic:
'--transform $BUILD_DIR/mongo/stripped/db/modules/enterprise=$SERVER_DIST_BASENAME/bin',
'--transform $BUILD_DIR/mongo/stripped=$SERVER_DIST_BASENAME/bin',
'--transform $BUILD_DIR/mongo=$SERVER_DIST_BASENAME/bin',
- '--transform src/mongo/installer/compass=$SERVER_DIST_BASENAME/bin',
'${TEMPFILE(SOURCES[1:])}'
],
),