diff options
Diffstat (limited to 'app-accessibility/edbrowse/files/edbrowse-3.7.5.1-manpage.patch')
-rw-r--r-- | app-accessibility/edbrowse/files/edbrowse-3.7.5.1-manpage.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-accessibility/edbrowse/files/edbrowse-3.7.5.1-manpage.patch b/app-accessibility/edbrowse/files/edbrowse-3.7.5.1-manpage.patch new file mode 100644 index 000000000000..f0d667669113 --- /dev/null +++ b/app-accessibility/edbrowse/files/edbrowse-3.7.5.1-manpage.patch @@ -0,0 +1,23 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -249,19 +249,7 @@ if (UNIX) + endif() + # copy to build dir + configure_file( ${UnixManFile} ${CMAKE_BINARY_DIR}/edbrowse.1 ) +- # find 'gzip' - warn if not... +- find_program(GZIP_EXE gzip PATHS /bin ) +- if (GZIP_EXE) +- # gzip it in place +- execute_process(COMMAND ${GZIP_EXE} -f "edbrowse.1" +- WORKING_DIRECTORY ${CMAKE_BINARY_DIR} +- INPUT_FILE edbrowse.1 +- OUTPUT_FILE edbrowse.1.gz ) +- # install it +- install(FILES ${CMAKE_BINARY_DIR}/edbrowse.1.gz DESTINATION ${UnixManDir}) +- else () +- message(WARNING "Unable to locate 'gzip'! No man page...") +- endif () ++ install(FILES ${CMAKE_BINARY_DIR}/edbrowse.1 DESTINATION ${UnixManDir}) + # install user guide + install(FILES doc/usersguide.html doc/usersguide_fr.html doc/sample.ebrc doc/sample_fr.ebrc doc/sample_it.ebrc DESTINATION ${UnixDocDir}) + endif () |