diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-11-11 19:04:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-11-13 18:35:50 (GMT) |
commit | f835f189aeb38a791ad09ba5c2d89300a3fd16f1 (patch) | |
tree | 5b863c4008f0a5ef7a706c6b254dbb50d9214ff5 /Modules | |
parent | 4c0d97dd98805a5d9fc73ab9818a653888c16103 (diff) | |
download | CMake-f835f189aeb38a791ad09ba5c2d89300a3fd16f1.zip CMake-f835f189aeb38a791ad09ba5c2d89300a3fd16f1.tar.gz CMake-f835f189aeb38a791ad09ba5c2d89300a3fd16f1.tar.bz2 |
GNUInstallDirs: Update FreeBSD "info" destination to share/info
FreeBSD ports commit r484628 (Install texinfo files (GNU info) into
${PREFIX}/share/info, 2018-11-10) changed the "info" destination
from "info" to "share/info". The commit included a patch to their
distribution of CMake to fix the `GNUInstallDirs` module too.
Apply a similar logic change to our upstream version of the module.
We already made a similar change for GNU/kFreeBSD in commit
v3.13.0-rc2~8^2 (GNUInstallDirs: Don't use BSD info and man paths on
GNU/kFreeBSD, 2018-10-21).
Fixes: #18585
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/GNUInstallDirs.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GNUInstallDirs.cmake b/Modules/GNUInstallDirs.cmake index 49d36f6..4db4e18 100644 --- a/Modules/GNUInstallDirs.cmake +++ b/Modules/GNUInstallDirs.cmake @@ -277,7 +277,7 @@ _GNUInstallDirs_cache_path(CMAKE_INSTALL_DATAROOTDIR "share" _GNUInstallDirs_cache_path_fallback(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATAROOTDIR}" "Read-only architecture-independent data (DATAROOTDIR)") -if(CMAKE_SYSTEM_NAME MATCHES "^(([^k].*)?BSD|DragonFly)$") +if(CMAKE_SYSTEM_NAME MATCHES "^(([^kF].*)?BSD|DragonFly)$") _GNUInstallDirs_cache_path_fallback(CMAKE_INSTALL_INFODIR "info" "Info documentation (info)") else() |