ports/net/mosquitto/patches/patch-man_CMakeLists_txt

26 lines
703 B
Text
Raw Normal View History

2023-08-25 20:59:25 +00:00
ignore presence/absence of xsltproc, just use the bundled manuals
which are included in tarball downloads
2023-08-16 22:26:55 +00:00
Index: man/CMakeLists.txt
--- man/CMakeLists.txt.orig
+++ man/CMakeLists.txt
2023-09-08 05:21:37 +00:00
@@ -5,7 +5,7 @@
# because the install is optional.
find_program(XSLTPROC xsltproc OPTIONAL)
-if(XSLTPROC)
+if(FALSE)
function(compile_manpage page)
add_custom_command(OUTPUT ${PROJECT_SOURCE_DIR}/man/${page}
COMMAND xsltproc ${PROJECT_SOURCE_DIR}/man/${page}.xml -o ${PROJECT_SOURCE_DIR}/man/
2023-08-25 20:59:25 +00:00
@@ -24,7 +24,9 @@ if(XSLTPROC)
compile_manpage("mosquitto-tls.7")
compile_manpage("mqtt.7")
compile_manpage("mosquitto.8")
+endif()
2023-08-16 22:26:55 +00:00
2023-08-25 20:59:25 +00:00
+if(TRUE)
install(FILES
mosquitto_ctrl.1
mosquitto_ctrl_dynsec.1