pfstools/pfstools-lib64.patch
2015-07-07 11:19:19 -06:00

20 lines
960 B
Diff

diff -up pfstools-2.0.3/src/pfs/CMakeLists.txt.lib64 pfstools-2.0.3/src/pfs/CMakeLists.txt
--- pfstools-2.0.3/src/pfs/CMakeLists.txt.lib64 2015-04-28 09:50:53.000000000 -0600
+++ pfstools-2.0.3/src/pfs/CMakeLists.txt 2015-07-07 09:49:59.570654842 -0600
@@ -20,12 +20,12 @@ string(REGEX REPLACE "(@PACKAGE_VERSION@
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/pfs.pc" "${file_content_res}")
install (TARGETS pfs
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib )
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
+ ARCHIVE DESTINATION lib${LIB_SUFFIX})
#install (FILES ${CMAKE_CURRENT_BINARY_DIR}/cygpfs.dll DESTINATION bin)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/pfs.h ${CMAKE_CURRENT_SOURCE_DIR}/array2d.h DESTINATION include/pfs)
-install (FILES ${CMAKE_CURRENT_BINARY_DIR}/pfs.pc DESTINATION lib/pkgconfig)
+install (FILES ${CMAKE_CURRENT_BINARY_DIR}/pfs.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig)
#install (FILES pfsoutppm.1 DESTINATION ${MAN_DIR})