]> git.pld-linux.org Git - packages/lemon.git/commitdiff
- added libdir patch master auto/th/lemon-1.3.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 Sep 2016 05:57:37 +0000 (07:57 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 17 Sep 2016 05:57:37 +0000 (07:57 +0200)
lemon-libdir.patch [new file with mode: 0644]
lemon.spec

diff --git a/lemon-libdir.patch b/lemon-libdir.patch
new file mode 100644 (file)
index 0000000..50e9533
--- /dev/null
@@ -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
+ )
index 29931ce39961de6540742f2315a5db835aa62ea9..e03bc584350172813d24bac47ff791e656f0bd90 100644 (file)
@@ -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
This page took 0.064196 seconds and 4 git commands to generate.