[packages/ewebkit] - added lib patch to respect LIB_SUFFIX when installing .pc file

qboosh qboosh at pld-linux.org
Tue Oct 2 19:40:35 CEST 2012


commit b819967a42bfa5c3eef9f1a6817c3977960ad8a5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Oct 2 19:41:56 2012 +0200

    - added lib patch to respect LIB_SUFFIX when installing .pc file

 ewebkit-lib.patch | 11 +++++++++++
 ewebkit.spec      |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/ewebkit.spec b/ewebkit.spec
index 0903a51..2806328 100644
--- a/ewebkit.spec
+++ b/ewebkit.spec
@@ -8,6 +8,7 @@ License:	BSD
 Group:		Libraries
 Source0:	http://packages.profusion.mobi/webkit-efl/webkit-efl-svn-%{subver}.tar.bz2
 # Source0-md5:	54332bd571a23d44e32837f4fa3a1c76
+Patch0:		%{name}-lib.patch
 URL:		http://trac.enlightenment.org/e/wiki/EWebKit
 BuildRequires:	bison
 BuildRequires:	cairo-devel >= 1.10
@@ -89,6 +90,7 @@ Pliki nagłówkowe biblioteki WebKit-EFL.
 
 %prep
 %setup -q -n webkit-efl-svn-%{subver}
+%patch0 -p1
 
 %build
 # replace -g2 with -g1 to not run into 4 GB ar format limit
diff --git a/ewebkit-lib.patch b/ewebkit-lib.patch
new file mode 100644
index 0000000..d636dc2
--- /dev/null
+++ b/ewebkit-lib.patch
@@ -0,0 +1,11 @@
+--- webkit-efl-svn-r127150/Source/WebKit/PlatformEfl.cmake.orig	2012-08-30 20:44:46.000000000 +0200
++++ webkit-efl-svn-r127150/Source/WebKit/PlatformEfl.cmake	2012-10-02 19:40:49.854024999 +0200
+@@ -251,7 +251,7 @@
+     ${CMAKE_BINARY_DIR}/WebKit/efl/ewebkit.pc
+     @ONLY)
+ INSTALL(FILES ${CMAKE_BINARY_DIR}/WebKit/efl/ewebkit.pc
+-    DESTINATION lib/pkgconfig)
++    DESTINATION lib${LIB_SUFFIX}/pkgconfig)
+ 
+ UNSET(LIBS_PRIVATE)
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ewebkit.git/commitdiff/b819967a42bfa5c3eef9f1a6817c3977960ad8a5



More information about the pld-cvs-commit mailing list