SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,20 @@
Disable find_package QUIET option in openbsd ports builds.
Index: Source/cmFindPackageCommand.cxx
--- Source/cmFindPackageCommand.cxx.orig
+++ Source/cmFindPackageCommand.cxx
@@ -712,7 +712,13 @@ bool cmFindPackageCommand::InitialPass(std::vector<std
std::vector<std::size_t> moduleArgs;
for (std::size_t i = 1u; i < args.size(); ++i) {
if (args[i] == "QUIET") {
- this->Quiet = true;
+ std::string openbsd_build;
+ bool quiet = true;
+ if (cmSystemTools::GetEnv("MODCMAKE_PORT_BUILD", openbsd_build)) {
+ if (openbsd_build == std::string("yes"))
+ quiet = false;
+ }
+ this->Quiet = quiet;
doing = DoingNone;
} else if (args[i] == "BYPASS_PROVIDER") {
bypassProvider = true;