bhyve-fw: drop CSM
[oi-userland.git] / components / library / graphite2 / patches / graphite2-01-install-paths.patch
blob872fe2a029fe0c1bf86ff897c3db27c0d8830440
1 --- CMakeLists.txt 2018-12-20 07:28:50.000000000 +0000
2 +++ CMakeLists.txt.new 2019-03-10 09:36:06.889845448 +0000
3 @@ -89,9 +89,10 @@ if (NOT GRAPHITE2_NFILEFACE)
4 endif()
6 set(version 3.0.1)
7 -set(libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
8 +set(libdir ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
9 +set(bindir ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})
10 set(includedir ${CMAKE_INSTALL_PREFIX}/include)
12 configure_file(graphite2.pc.in graphite2.pc)
14 -install(FILES ${PROJECT_BINARY_DIR}/graphite2.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig)
15 +install(FILES ${PROJECT_BINARY_DIR}/graphite2.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
16 --- src/CMakeLists.txt.orig 2013-12-18 02:11:19.630231082 +0000
17 +++ src/CMakeLists.txt 2013-12-18 02:22:20.323562493 +0000
18 @@ -148,5 +148,5 @@
19 endif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
22 -install(TARGETS graphite2 EXPORT graphite2 LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX} PUBLIC_HEADER DESTINATION include/graphite2 RUNTIME DESTINATION bin)
23 +install(TARGETS graphite2 EXPORT graphite2 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} PUBLIC_HEADER DESTINATION include/graphite2 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
24 install(EXPORT graphite2 DESTINATION share/graphite2 NAMESPACE gr2_)