summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2020-04-06 23:21:38 -0500
committerMatthias Maier <tamiko@gentoo.org>2020-04-06 23:22:53 -0500
commit286329202f7fea25dd15832b75707df420e32e9b (patch)
tree160bd48211be654f48cd00ec4ceb8982cdeaca36 /sci-libs/adolc/files
parentsci-libs/tensorflow-estimator: add rules_cc distfile for bazel 2.0 (diff)
downloadgentoo-286329202f7fea25dd15832b75707df420e32e9b.tar.gz
gentoo-286329202f7fea25dd15832b75707df420e32e9b.tar.bz2
gentoo-286329202f7fea25dd15832b75707df420e32e9b.zip
Revert "sci-libs/adolc: drop old"
This reverts commit c124472bf2e70c44ddcb5f4bdbe67ae16777c193. Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs/adolc/files')
-rw-r--r--sci-libs/adolc/files/adolc-2.4.0-no-colpack.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-libs/adolc/files/adolc-2.4.0-no-colpack.patch b/sci-libs/adolc/files/adolc-2.4.0-no-colpack.patch
new file mode 100644
index 000000000000..e3b5a4a2ca5f
--- /dev/null
+++ b/sci-libs/adolc/files/adolc-2.4.0-no-colpack.patch
@@ -0,0 +1,24 @@
+do not test colpack when user says no even when it is installed
+
+--- configure.ac.orig 2012-07-19 13:04:37.426461811 -0700
++++ configure.ac 2012-07-19 13:06:06.477916144 -0700
+@@ -281,7 +281,7 @@
+ COLPACK_LIBDIR=""
+ COLPACK_LIBS="-lColPack"
+ ])
+-
++if test x$colpack != xno; then
+ AC_LANG_PUSH([C++])
+ save_CPPFLAGS="$CPPFLAGS"
+ save_LIBS="$LIBS"
+@@ -301,7 +301,9 @@
+ CPPFLAGS="$save_CPPFLAGS"
+ LIBS="$save_LIBS"
+ AC_LANG_POP([C++])
+-
++else
++ have_colpack=no
++fi
+ AM_CONDITIONAL(HAVE_LIBCOLPACK,[test x$have_colpack = xyes])
+ if test x$have_colpack = xyes; then
+ sparse=yes