summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-02-21 16:50:50 +0000
committerJustin Lecher <jlec@gentoo.org>2013-02-21 16:50:50 +0000
commit55be700c364e3a4e4078a72478c35ee471d012c2 (patch)
tree1b5ce777e61293468951454a13c65d93190a8b44 /sci-libs/arpack/files
parentStable for x86, wrt bug #458188 (diff)
downloadgentoo-2-55be700c364e3a4e4078a72478c35ee471d012c2.tar.gz
gentoo-2-55be700c364e3a4e4078a72478c35ee471d012c2.tar.bz2
gentoo-2-55be700c364e3a4e4078a72478c35ee471d012c2.zip
sci-libs/arpack: Fix pkgconfig file and its creation. Hopefully fixes, #455862
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-libs/arpack/files')
-rw-r--r--sci-libs/arpack/files/arpack-3.1.2-pkg-config.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/sci-libs/arpack/files/arpack-3.1.2-pkg-config.patch b/sci-libs/arpack/files/arpack-3.1.2-pkg-config.patch
new file mode 100644
index 000000000000..92399140a424
--- /dev/null
+++ b/sci-libs/arpack/files/arpack-3.1.2-pkg-config.patch
@@ -0,0 +1,55 @@
+ arpack.pc | 9 ---------
+ arpack.pc.in | 10 ++++++++++
+ configure.ac | 3 ++-
+ 3 files changed, 12 insertions(+), 10 deletions(-)
+
+diff --git a/arpack.pc b/arpack.pc
+deleted file mode 100644
+index b630b77..0000000
+--- a/arpack.pc
++++ /dev/null
+@@ -1,9 +0,0 @@
+-prefix=/usr
+-exec_prefix=${prefix}
+-libdir=${exec_prefix}/lib
+-
+-Name: arpack
+-Description: ARPACK-NG
+-Version: 3.0.2
+-Libs: -L${libdir} -larpack -lblas
+-Cflags:
+diff --git a/arpack.pc.in b/arpack.pc.in
+new file mode 100644
+index 0000000..36fa4ff
+--- /dev/null
++++ b/arpack.pc.in
+@@ -0,0 +1,10 @@
++prefix=@prefix@
++exec_prefix=${prefix}
++libdir=@libdir@
++
++Name: arpack
++Description: ARPACK-NG
++Version: @VERSION@
++Libs: -L${libdir} -larpack
++Libs.private: @BLAS_LIBS@
++Cflags:
+diff --git a/configure.ac b/configure.ac
+index 95c65b8..fe94be9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,5 +1,5 @@
+ AC_PREREQ(2.59)
+-AC_INIT([arpack-ng], [3.1.0], [http://forge.scilab.org/index.php/p/arpack-ng/issues/])
++AC_INIT([arpack-ng], [3.1.2], [http://forge.scilab.org/index.php/p/arpack-ng/issues/])
+ AM_INIT_AUTOMAKE([foreign])
+ AM_MAINTAINER_MODE
+
+@@ -42,6 +42,7 @@ AM_CONDITIONAL(MPI, test x"$enable_mpi" = x"yes")
+ # LAPACK/Makefile
+
+ AC_CONFIG_FILES([
++ arpack.pc
+ Makefile
+ SRC/Makefile
+ UTIL/Makefile