[packages/io] - fix lib64 builds - non-parallel make - memcached patch needs libmemcached >= 1.0.17

qboosh qboosh at pld-linux.org
Sun Nov 10 17:18:05 CET 2013


commit cd3e3db6e85eada8e3689686b8e7b85fbb5c0087
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 10 17:18:30 2013 +0100

    - fix lib64 builds
    - non-parallel make
    - memcached patch needs libmemcached >= 1.0.17

 io.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/io.spec b/io.spec
index fa1dd8a..24e3c2b 100644
--- a/io.spec
+++ b/io.spec
@@ -32,7 +32,7 @@ BuildRequires:	libedit-devel
 BuildRequires:	libevent-devel
 BuildRequires:	libffi-devel
 BuildRequires:	libjpeg-devel
-BuildRequires:	libmemcached-devel
+BuildRequires:	libmemcached-devel >= 1.0.17
 BuildRequires:	libogg-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libsamplerate-devel
@@ -82,12 +82,19 @@ Język programowania Io.
 %patch5 -p1
 %patch6 -p1
 
+%{__sed} -i -e 's,DESTINATION lib\>,DESTINATION lib${LIB_SUFFIX},' \
+	libs/*/CMakeLists.txt \
+	addons/*/CMakeLists.txt
+
 %build
 install -d build
 cd build
 %cmake .. \
 	-DCURSES_INCLUDE_PATH=/usr/include/ncurses
 
+# build is racy wrt. io_static
+%{__make} -j1
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/io.git/commitdiff/cd3e3db6e85eada8e3689686b8e7b85fbb5c0087



More information about the pld-cvs-commit mailing list