aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/freeon/files/freeon-9999-no_internal_libs.patch')
-rw-r--r--sci-chemistry/freeon/files/freeon-9999-no_internal_libs.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/sci-chemistry/freeon/files/freeon-9999-no_internal_libs.patch b/sci-chemistry/freeon/files/freeon-9999-no_internal_libs.patch
new file mode 100644
index 000000000..a908aa7d9
--- /dev/null
+++ b/sci-chemistry/freeon/files/freeon-9999-no_internal_libs.patch
@@ -0,0 +1,47 @@
+diff -Naurp freeon-9999.orig/Modules/Makefile.am freeon-9999/Modules/Makefile.am
+--- freeon-9999.orig/Modules/Makefile.am 2013-05-28 08:09:39.000000000 +0000
++++ freeon-9999/Modules/Makefile.am 2013-05-29 14:32:24.879721200 +0000
+@@ -1,17 +1,5 @@
+ include $(top_srcdir)/make.inc
+
+-if INTERNAL_LAPACK
+-INTERNAL_LAPACK_DIRS = lapack
+-endif
+-
+-if INTERNAL_HDF5
+-INTERNAL_HDF5_DIRS = hdf5-1.8.3
+-HDF5_INCLUDES = -I$(srcdir)/hdf5-1.8.3/src -I$(builddir)/hdf5-1.8.3/src
+-endif
+-
+-DIST_SUBDIRS = lapack hdf5-1.8.3
+-SUBDIRS = $(INTERNAL_HDF5_DIRS) $(INTERNAL_LAPACK_DIRS)
+-
+ if USE_DYNAMIC_LINKING
+ lib_LTLIBRARIES = libfreeonmodules.la
+ else
+--- freeon-9999.orig/configure.ac 2013-05-29 15:34:16.000000000 +0000
++++ freeon-9999/configure.ac 2013-05-29 15:36:22.000063299 +0000
+@@ -870,7 +870,6 @@ AM_CONDITIONAL(INTERNAL_HDF5, [test "${u
+ if test "${use_internal_hdf5}" = "yes"; then
+
+ AC_DEFINE(HAVE_INTERNAL_HDF5, 1, [Use the inernal hdf5 library.])
+- AC_CONFIG_SUBDIRS([Modules/hdf5-1.8.3])
+
+ else
+
+@@ -1069,15 +1068,6 @@ config_localversion.h
+ Makefile
+ FreeON/Makefile
+ Modules/Makefile
+-Modules/lapack/Makefile
+-Modules/lapack/install/Makefile
+-Modules/lapack/blas/Makefile
+-Modules/lapack/lapack/Makefile
+-Modules/lapack/blas_testing/Makefile
+-Modules/lapack/lapack_testing/Makefile
+-Modules/lapack/lapack_testing/lin/Makefile
+-Modules/lapack/lapack_testing/eig/Makefile
+-Modules/lapack/lapack_testing/matgen/Makefile
+ SCFeqs/Makefile
+ OneE/Makefile
+ QCTC/Makefile