[packages/eigen3] - fix includedir in pkgconfig - rel 2

baggins baggins at pld-linux.org
Mon Nov 23 19:31:09 CET 2015


commit 7d10d0f64c9cbeb805c7bb8b5211ed13148c820d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Nov 23 19:30:51 2015 +0100

    - fix includedir in pkgconfig
    - rel 2

 eigen3.spec     | 4 +++-
 pkgconfig.patch | 8 ++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/eigen3.spec b/eigen3.spec
index 0609cc1..cdcce1c 100644
--- a/eigen3.spec
+++ b/eigen3.spec
@@ -7,13 +7,14 @@ Summary:	C++ template library for linear algebra
 Summary(pl.UTF-8):	Biblioteka szablonów C++ do algebry liniowej
 Name:		eigen3
 Version:	3.2.7
-Release:	1
+Release:	2
 License:	LGPL v3+ or GPL v2+
 Group:		Development/Libraries
 #Source0Download: http://eigen.tuxfamily.org/index.php?title=Main_Page
 Source0:	https://bitbucket.org/eigen/eigen/get/%{version}.tar.bz2
 # Source0-md5:	cc1bacbad97558b97da6b77c9644f184
 Patch0:		%{name}-buildtype.patch
+Patch1:		pkgconfig.patch
 URL:		http://eigen.tuxfamily.org/
 BuildRequires:	cmake >= 2.8.2
 %{?with_gdb:BuildRequires:	python-modules}
@@ -85,6 +86,7 @@ do pliku ~/.gdbinit .
 %prep
 %setup -q -n eigen-eigen-b30b87236a1b
 %patch0 -p1
+%patch1 -p1
 
 %build
 install -d build
diff --git a/pkgconfig.patch b/pkgconfig.patch
new file mode 100644
index 0000000..aa0fd89
--- /dev/null
+++ b/pkgconfig.patch
@@ -0,0 +1,8 @@
+--- eigen-eigen-b30b87236a1b/eigen3.pc.in~	2015-11-05 15:56:09.000000000 +0100
++++ eigen-eigen-b30b87236a1b/eigen3.pc.in	2015-11-23 19:27:52.734187104 +0100
+@@ -3,4 +3,4 @@
+ Requires:
+ Version: ${EIGEN_VERSION_NUMBER}
+ Libs:
+-Cflags: -I${INCLUDE_INSTALL_DIR}
++Cflags: -I${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/eigen3.git/commitdiff/7d10d0f64c9cbeb805c7bb8b5211ed13148c820d



More information about the pld-cvs-commit mailing list