SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
devel/cmake/patches/patch-Source_cmFindPackageCommand_cxx
Normal file
20
devel/cmake/patches/patch-Source_cmFindPackageCommand_cxx
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue