void-packages/srcpkgs/hydrogen/patches/fix-man-path.patch

12 lines
619 B
Diff

--- CMakeLists.txt.orig 2016-11-06 06:21:09.000000000 +0100
+++ CMakeLists.txt 2016-11-06 06:24:00.389637026 +0100
@@ -358,7 +358,7 @@
IF(NOT MINGW AND NOT APPLE)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.appdata.xml DESTINATION "${CMAKE_INSTALL_PREFIX}/share/appdata")
INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
- INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.1 DESTINATION "${CMAKE_INSTALL_PREFIX}/man/man1")
+ INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.1 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1")
ENDIF()
#