SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
26
devel/cmake/patches/patch-Source_cmInstallCommand_cxx
Normal file
26
devel/cmake/patches/patch-Source_cmInstallCommand_cxx
Normal file
|
@ -0,0 +1,26 @@
|
|||
Index: Source/cmInstallCommand.cxx
|
||||
--- Source/cmInstallCommand.cxx.orig
|
||||
+++ Source/cmInstallCommand.cxx
|
||||
@@ -669,6 +669,9 @@ bool HandleTargetsMode(std::vector<std::string> const&
|
||||
}
|
||||
|
||||
// Select the mode for installing symlinks to versioned shared libraries.
|
||||
+ // Do not install symlinks to versioned shared libraries on OpenBSD.
|
||||
+ // Use NamelinkModeSkip unconditionally.
|
||||
+#if !defined(__OpenBSD__)
|
||||
cmInstallTargetGenerator::NamelinkModeType namelinkMode =
|
||||
cmInstallTargetGenerator::NamelinkModeNone;
|
||||
if (libraryArgs.GetNamelinkOnly()) {
|
||||
@@ -684,6 +687,12 @@ bool HandleTargetsMode(std::vector<std::string> const&
|
||||
} else if (archiveArgs.GetNamelinkSkip()) {
|
||||
importlinkMode = cmInstallTargetGenerator::NamelinkModeSkip;
|
||||
}
|
||||
+#else
|
||||
+ cmInstallTargetGenerator::NamelinkModeType namelinkMode =
|
||||
+ cmInstallTargetGenerator::NamelinkModeSkip;
|
||||
+ cmInstallTargetGenerator::NamelinkModeType importlinkMode =
|
||||
+ cmInstallTargetGenerator::NamelinkModeSkip;
|
||||
+#endif
|
||||
|
||||
// Check if there is something to do.
|
||||
if (targetList.empty()) {
|
Loading…
Add table
Add a link
Reference in a new issue