]> git.pld-linux.org Git - packages/eigen3.git/commitdiff
- fix includedir in pkgconfig auto/th/eigen3-3.2.7-2
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Nov 2015 18:30:51 +0000 (19:30 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Nov 2015 18:30:51 +0000 (19:30 +0100)
- rel 2

eigen3.spec
pkgconfig.patch [new file with mode: 0644]

index 0609cc1b94aef7c79531f3d5996f50e8581410a5..cdcce1cc0510a5a414839562000ff8e5f58e7e07 100644 (file)
@@ -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 (file)
index 0000000..aa0fd89
--- /dev/null
@@ -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}
This page took 0.062652 seconds and 4 git commands to generate.