forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sshping: Use CMAKE_INSTALL_MANDIR instead of assuming man
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
$NetBSD: distinfo,v 1.1 2022/05/28 17:33:20 leot Exp $ | ||
$NetBSD: distinfo,v 1.2 2022/05/28 20:46:44 leot Exp $ | ||
|
||
BLAKE2s (sshping-0.1.4.tar.gz) = 2108dc5850f721ccde6a486689b4f8c3f6846345d019625ae1f5c8bbf0e17c6a | ||
SHA512 (sshping-0.1.4.tar.gz) = 16d72099b468c58d44835822a372f97863ba0b73282e8e64c20b0a0e6465e6f9efa634a85b0c7c13d03c470c547b08332820bf177f5bad59984270801ab74782 | ||
Size (sshping-0.1.4.tar.gz) = 3536227 bytes | ||
SHA1 (patch-CMakeLists.txt) = 8d19570f316d37e08b8fab49ae747f0a2880edd8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
$NetBSD: patch-CMakeLists.txt,v 1.1 2022/05/28 20:46:44 leot Exp $ | ||
|
||
Use CMAKE_INSTALL_MANDIR instead of assuming man. | ||
|
||
--- CMakeLists.txt.orig 2018-03-19 21:48:55.000000000 +0000 | ||
+++ CMakeLists.txt | ||
@@ -27,7 +27,7 @@ add_custom_command( | ||
COMMENT "Building manpage ${MAN_TGT}" | ||
VERBATIM) | ||
add_custom_target(man ALL DEPENDS ${MAN_TGT}) | ||
-install(FILES ${MAN_TGT} DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man8) | ||
+install(FILES ${MAN_TGT} DESTINATION ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_MANDIR}/man8) | ||
|
||
# Packaging for RPM or DEB | ||
find_program(rpmbuild_path "rpmbuild" FALSE) |