ports/sysutils/lsyncd/files/patch-CMakeLists.txt
Muhammad Moinur Rahman eae090ec86
sysutils/lsyncd: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-26 07:01:48 +01:00

14 lines
552 B
Text

--- CMakeLists.txt.orig 2018-03-09 12:39:11 UTC
+++ CMakeLists.txt
@@ -104,8 +104,8 @@ add_custom_target( tests
# compiling and linking it all together
add_executable( lsyncd ${LSYNCD_SRC} )
-target_link_libraries( lsyncd ${LUA_LIBRARIES} )
+target_link_libraries( lsyncd ${LUA_LIBRARIES} /usr/local/lib/libinotify.so )
-install( TARGETS lsyncd RUNTIME DESTINATION bin )
-install( FILES doc/manpage/lsyncd.1 DESTINATION man )
+install( TARGETS lsyncd RUNTIME DESTINATION sbin )
+install( FILES doc/manpage/lsyncd.1 DESTINATION share/man/man1 )