pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/sshping sshping: Use CMAKE_INSTALL_MANDIR instead ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2216c990c21
branches:  trunk
changeset: 380097:c2216c990c21
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat May 28 20:46:44 2022 +0000

description:
sshping: Use CMAKE_INSTALL_MANDIR instead of assuming man

diffstat:

 net/sshping/distinfo                     |   3 ++-
 net/sshping/patches/patch-CMakeLists.txt |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r af37ddec992c -r c2216c990c21 net/sshping/distinfo
--- a/net/sshping/distinfo      Sat May 28 20:46:16 2022 +0000
+++ b/net/sshping/distinfo      Sat May 28 20:46:44 2022 +0000
@@ -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
diff -r af37ddec992c -r c2216c990c21 net/sshping/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/sshping/patches/patch-CMakeLists.txt  Sat May 28 20:46:44 2022 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index