summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/nwchem/tools_lib64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/nwchem/tools_lib64.patch')
-rwxr-xr-xvar/spack/repos/builtin/packages/nwchem/tools_lib64.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/nwchem/tools_lib64.patch b/var/spack/repos/builtin/packages/nwchem/tools_lib64.patch
new file mode 100755
index 0000000000..d32442df27
--- /dev/null
+++ b/var/spack/repos/builtin/packages/nwchem/tools_lib64.patch
@@ -0,0 +1,14 @@
+Index: src/config/makefile.h
+===================================================================
+--- src/config/makefile.h (revision 27828)
++++ src/config/makefile.h (revision 27829)
+@@ -99,7 +99,8 @@
+ ifdef OLD_GA
+ LIBPATH = -L$(SRCDIR)/tools/lib/$(TARGET)
+ else
+- LIBPATH = -L$(SRCDIR)/tools/install/lib
++ TOOLSLIB = $(shell grep libdir\ = $(NWCHEM_TOP)/src/tools/build/Makefile |grep -v pkgl|cut -b 25-)
++ LIBPATH = -L$(SRCDIR)/tools/install/$(TOOLSLIB)
+ endif
+
+ #