[packages/libxseg] - added libdir patch (LIB_SUFFIX support)

qboosh qboosh at pld-linux.org
Sat Oct 24 23:10:08 CEST 2015


commit 69842e38bcf9b08b2157f19fe503224dd46abcab
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 24 23:11:25 2015 +0200

    - added libdir patch (LIB_SUFFIX support)

 libxseg-libdir.patch | 11 +++++++++++
 libxseg.spec         |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/libxseg.spec b/libxseg.spec
index 978df1e..e502c90 100644
--- a/libxseg.spec
+++ b/libxseg.spec
@@ -12,6 +12,7 @@ Group:		Libraries
 Source0:	https://github.com/grnet/libxseg/archive/%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	75c4afa0ce0065ff594b48cdb7901baa
 Patch0:		%{name}-archs.patch
+Patch1:		%{name}-libdir.patch
 URL:		https://github.com/grnet/libxseg
 BuildRequires:	cmake >= 2.8
 # h2xml, xml2py
@@ -76,6 +77,7 @@ Dokumentacja biblioteki xseg.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
diff --git a/libxseg-libdir.patch b/libxseg-libdir.patch
new file mode 100644
index 0000000..bb69165
--- /dev/null
+++ b/libxseg-libdir.patch
@@ -0,0 +1,11 @@
+--- libxseg-0.4.1/src/CMakeLists.txt.orig	2015-07-17 17:47:32.000000000 +0200
++++ libxseg-0.4.1/src/CMakeLists.txt	2015-10-24 22:59:06.206279960 +0200
+@@ -81,7 +81,7 @@
+ 	OUTPUT_NAME xseg
+ )
+ 
+-INSTALL_TARGETS(/lib xseg)
++INSTALL_TARGETS(/lib${LIB_SUFFIX} xseg)
+ INSTALL_TARGETS(/bin xseg-tool)
+ #INSTALL_FILES(/include )
+ INSTALL(DIRECTORY include DESTINATION /usr FILES_MATCHING PATTERN "*.h")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libxseg.git/commitdiff/69842e38bcf9b08b2157f19fe503224dd46abcab



More information about the pld-cvs-commit mailing list