From 8c776cd2c7f10db897bf6999b8ce262f201c2870 Mon Sep 17 00:00:00 2001 From: Donnie Berkholz Date: Sat, 13 May 2006 22:22:12 +0000 Subject: (#132835) Bump to latest release. Ebuild based on work of Donald E. Curtis. Patch to fix blas/lapack detection by me. Package-Manager: portage-2.1_pre10-r5 --- .../files/2.00-really-find-blas-and-lapack.patch | 24 ++++++++++++++++++++++ sci-libs/libghemical/files/digest-libghemical-2.00 | 3 +++ 2 files changed, 27 insertions(+) create mode 100644 sci-libs/libghemical/files/2.00-really-find-blas-and-lapack.patch create mode 100644 sci-libs/libghemical/files/digest-libghemical-2.00 (limited to 'sci-libs/libghemical/files') diff --git a/sci-libs/libghemical/files/2.00-really-find-blas-and-lapack.patch b/sci-libs/libghemical/files/2.00-really-find-blas-and-lapack.patch new file mode 100644 index 000000000000..bef730abbe4c --- /dev/null +++ b/sci-libs/libghemical/files/2.00-really-find-blas-and-lapack.patch @@ -0,0 +1,24 @@ +diff -urN libghemical-2.00.orig/configure.ac libghemical-2.00/configure.ac +--- libghemical-2.00.orig/configure.ac 2006-05-12 23:31:06.000000000 -0700 ++++ libghemical-2.00/configure.ac 2006-05-12 23:54:20.000000000 -0700 +@@ -69,8 +69,18 @@ + AC_CHECK_LIB([m], [acos]) + + if test $WITH_MPQC = yes; then +- AC_CHECK_LIB([blas], [main], , AC_MSG_ERROR([Cannot find blas library needed for MPQC support])) +- AC_CHECK_LIB([lapack], [main], , AC_MSG_ERROR([Cannot find lapack library needed for MPQC support])) ++ AC_CHECK_LIB([blas], [dgemm_], HAVE_BLAS="yes", , -lpthread) ++ AC_CHECK_LIB([blas], [dgemm], HAVE_BLAS="yes", , -lpthread) ++ AC_CHECK_LIB([blas], [dgemm__], HAVE_BLAS="yes", , -lpthread) ++ if test "x${HAVE_BLAS}" = "x"; then ++ AC_MSG_ERROR([Cannot find blas library needed for MPQC support]) ++ fi ++ AC_CHECK_LIB([lapack], [cheev_], HAVE_LAPACK="yes", , -lpthread) ++ AC_CHECK_LIB([lapack], [cheev], HAVE_LAPACK="yes", , -lpthread) ++ AC_CHECK_LIB([lapack], [cheev__], HAVE_LAPACK="yes", , -lpthread) ++ if test "x${HAVE_LAPACK}" = "x"; then ++ AC_MSG_ERROR([Cannot find lapack library needed for MPQC support]) ++ fi + AM_PATH_SC(1.2.5, HAVE_MPQC="yes", HAVE_MPQC="no") + if test "${HAVE_MPQC}" = "yes"; then + AC_DEFINE([ENABLE_MPQC], [], [Define if you are building a version that interfaces directly with MPQC]) diff --git a/sci-libs/libghemical/files/digest-libghemical-2.00 b/sci-libs/libghemical/files/digest-libghemical-2.00 new file mode 100644 index 000000000000..ae7c83b5d7a0 --- /dev/null +++ b/sci-libs/libghemical/files/digest-libghemical-2.00 @@ -0,0 +1,3 @@ +MD5 19ee087b6f3c0ce816ed1722b4a5b002 libghemical-2.00.tar.gz 629479 +RMD160 8c49ce3f128ef937dfb4443e4ffebff0b9183a1d libghemical-2.00.tar.gz 629479 +SHA256 e873b3042df75fa1c9f37fc99f2ff14227965ed13c7680169f714ab6575d5f21 libghemical-2.00.tar.gz 629479 -- cgit v1.2.3-65-gdbad