[packages/lemon] - added libdir patch

qboosh qboosh at pld-linux.org
Sat Sep 17 07:56:09 CEST 2016


commit ec61351595728866eaa90153437cc59751e2d73e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 17 07:57:37 2016 +0200

    - added libdir patch

 lemon-libdir.patch | 21 +++++++++++++++++++++
 lemon.spec         |  2 ++
 2 files changed, 23 insertions(+)
---
diff --git a/lemon.spec b/lemon.spec
index 29931ce..e03bc58 100644
--- a/lemon.spec
+++ b/lemon.spec
@@ -15,6 +15,7 @@ License:	Boost v1.0
 Group:		Libraries
 Source0:	http://lemon.cs.elte.hu/pub/sources/%{name}-%{version}.tar.gz
 # Source0-md5:	e89f887559113b68657eca67cf3329b5
+Patch0:		%{name}-libdir.patch
 URL:		http://lemon.cs.elte.hu/
 %if %{with coin}
 BuildRequires:	CoinCbc-devel
@@ -78,6 +79,7 @@ Dokumentacja API biblioteki LEMON.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
diff --git a/lemon-libdir.patch b/lemon-libdir.patch
new file mode 100644
index 0000000..50e9533
--- /dev/null
+++ b/lemon-libdir.patch
@@ -0,0 +1,21 @@
+--- lemon-1.3.1/lemon/CMakeLists.txt.orig	2014-07-07 16:40:24.911315501 +0200
++++ lemon-1.3.1/lemon/CMakeLists.txt	2016-09-17 07:45:52.142752000 +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
+ )
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lemon.git/commitdiff/ec61351595728866eaa90153437cc59751e2d73e



More information about the pld-cvs-commit mailing list