FreeBSD Bugzilla – Attachment 238064 Details for
Bug 267748
devel/cmake-core: CMAKE_INSTALL_FULL_LOCALSTATEDIR points to /usr/local/var which is invalid on FreeBSD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against GNUInstallDirs module
p (text/plain), 711 bytes, created by
Adriaan de Groot
on 2022-11-13 23:21:32 UTC
(
hide
)
Description:
Patch against GNUInstallDirs module
Filename:
MIME Type:
Creator:
Adriaan de Groot
Created:
2022-11-13 23:21:32 UTC
Size:
711 bytes
patch
obsolete
>diff --git tmp/GNUInstallDirs.cmake usr/local/share/cmake/Modules/GNUInstallDirs.cmake >index 9796854..8cb58c2 100644 >--- usr/local/share/cmake/Modules/GNUInstallDirs.cmake.orig >+++ usr/local/share/cmake/Modules/GNUInstallDirs.cmake >@@ -408,6 +408,12 @@ macro(GNUInstallDirs_get_absolute_install_dir absvar var) > else() > set(${absvar} "${CMAKE_INSTALL_PREFIX}/${${var}}") > endif() >+ elseif(CMAKE_SYSTEM_NAME MATCHES "^FreeBSD$") >+ if("${GGAID_dir}" STREQUAL "LOCALSTATEDIR") >+ set(${absvar} "/${${var}}") >+ else() >+ set(${absvar} "${CMAKE_INSTALL_PREFIX}/${${var}}") >+ endif() > else() > set(${absvar} "${CMAKE_INSTALL_PREFIX}/${${var}}") > endif()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 267748
: 238064