You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/lemon/files/lemon-1.3.1-multilib.patch

32 lines
841 B

--- a/lemon/CMakeLists.txt 2014-07-07 16:40:24.911315501 +0200
+++ b/lemon/CMakeLists.txt 2018-10-15 22:13:12.040890710 +0200
@@ -66,8 +66,8 @@
INSTALL(
TARGETS lemon
- ARCHIVE DESTINATION lib
- LIBRARY DESTINATION lib
+ ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
COMPONENT library
)
@@ -86,6 +86,6 @@
INSTALL(
FILES ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc
- DESTINATION lib/pkgconfig
+ DESTINATION lib${LIB_SUFFIX}/pkgconfig
)
--- a/lemon/lemon.pc.in 2014-07-07 16:40:24.949315716 +0200
+++ b/lemon/lemon.pc.in 2018-10-15 22:45:28.869931587 +0200
@@ -1,6 +1,6 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@/bin
-libdir=@CMAKE_INSTALL_PREFIX@/lib
+libdir=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@
includedir=@CMAKE_INSTALL_PREFIX@/include
Name: @PROJECT_NAME@