[packages/Eyescale-CMake] - fix libdir location
baggins
baggins at pld-linux.org
Sat May 28 18:42:49 CEST 2016
commit 30d2a8ddcc84f780be8a00509ef4256ec7fae1bf
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat May 28 16:42:37 2016 +0000
- fix libdir location
Eyescale-CMake.spec | 3 +++
libdir.patch | 11 +++++++++++
2 files changed, 14 insertions(+)
---
diff --git a/Eyescale-CMake.spec b/Eyescale-CMake.spec
index 87745ea..4972d9d 100644
--- a/Eyescale-CMake.spec
+++ b/Eyescale-CMake.spec
@@ -8,6 +8,7 @@ License: BSD
Group: Development/Tools
Source0: https://github.com/Eyescale/CMake/archive/%{gitref}/Eyescale-CMake-%{gitref}.tar.gz
# Source0-md5: b121851bcee76d6e99abdacf54a4512c
+Patch0: libdir.patch
URL: https://github.com/Eyescale/CMake/
Requires: cmake >= 2.8
BuildArch: noarch
@@ -23,7 +24,9 @@ Collage czy Equalizer).
%prep
%setup -q -c
+
%{__mv} CMake-* common
+%patch0 -p1
%{__rm} common/.gitignore
%{__mv} common/{CHANGES.md,LICENSE.txt,README.md} .
diff --git a/libdir.patch b/libdir.patch
new file mode 100644
index 0000000..2b05f80
--- /dev/null
+++ b/libdir.patch
@@ -0,0 +1,11 @@
+--- Eyescale-CMake-2016.04/common/Common.cmake~ 2016-04-05 11:42:04.000000000 +0000
++++ Eyescale-CMake-2016.04/common/Common.cmake 2016-05-28 16:40:47.577436434 +0000
+@@ -72,7 +72,7 @@
+ add_definitions(-fPIC)
+ endif()
+ endif()
+-set(LIBRARY_DIR lib)
++set(LIBRARY_DIR lib${LIB_SUFFIX})
+
+ if(APPLE)
+ cmake_policy(SET CMP0042 NEW)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/Eyescale-CMake.git/commitdiff/30d2a8ddcc84f780be8a00509ef4256ec7fae1bf
More information about the pld-cvs-commit
mailing list