--- tcplay-git-180411.old/CMakeLists.txt +++ tcplay-git-180411/CMakeLists.txt @@ -67,7 +67,7 @@ message(STATUS "") message(STATUS "LIB_SUFFIX variable is not defined. It will be autodetected now.") message(STATUS "You can set it manually with -DLIB_SUFFIX= (e.g. 64).") - if (CMAKE_SIZEOF_VOID_P EQUAL 8) + if (CMAKE_SIZEOF_VOID_P EQUAL -1) message(STATUS "\nSetting LIB_SUFFIX=64\n") set (LIB_SUFFIX "64") else() @@ -125,9 +125,8 @@ install(FILES ${PROJECT_BINARY_DIR}/tcplay.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig COMPONENT lib-dev) install(FILES tcplay_api.h DESTINATION include COMPONENT lib-dev) -install(FILES tcplay.3 DESTINATION share/man/man3 COMPONENT lib-dev) - -install(FILES tcplay.8 DESTINATION share/man/man8 COMPONENT bin) +install(FILES tcplay.3 DESTINATION man/man3 COMPONENT lib-dev) +install(FILES tcplay.8 DESTINATION man/man8 COMPONENT bin) ===== end of patch =====