File: 09_system_libint.patch

package info (click to toggle)
psicode 3.4.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch, trixie
  • size: 46,416 kB
  • ctags: 18,563
  • sloc: cpp: 291,425; ansic: 12,788; fortran: 10,489; perl: 3,206; sh: 2,702; makefile: 2,205; ruby: 2,178; yacc: 110; lex: 53
file content (52 lines) | stat: -rw-r--r-- 1,753 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Author: Michael Banck <mbanck@debian.org>
Description: Use system libint, no not build and link in the shipped libint
 code.

--- a/src/lib/Makefile.in
+++ b/src/lib/Makefile.in
@@ -2,7 +2,7 @@
 .PHONY:	default all install depend clean dclean targetclean
 
 subdirs = libipv1 libciomr libchkpt libqt libpsio libiwl libdpd libutil \
-          liboptions libmoinfo libint libderiv libr12 libbasis libmints
+          liboptions libmoinfo libbasis libmints
 
 all: default
 
--- a/src/bin/cints/Makefile.in
+++ b/src/bin/cints/Makefile.in
@@ -53,25 +53,25 @@
 # and form the list of the libraries. Remember that libderiv and libr12
 # depend on libint, and hence need to come first for GNU ld to work.
 #
-INTLIBS := -lPSI_int
+INTLIBS := -lint
 ifeq ($(findstring MP2R12,$(SUBDIRS)),MP2R12)
-  ifneq ($(findstring -lPSI_r12,$(INTLIBS)),-lPSI_r12)
-    INTLIBS := -lPSI_r12 $(INTLIBS)
+  ifneq ($(findstring -lr12,$(INTLIBS)),-lr12)
+    INTLIBS := -lr12 $(INTLIBS)
   endif
 endif
 ifeq ($(findstring R12_Ints,$(SUBDIRS)),R12_Ints)
-  ifneq ($(findstring -lPSI_r12,$(INTLIBS)),-lPSI_r12)
-    INTLIBS := -lPSI_r12 $(INTLIBS)
+  ifneq ($(findstring -lr12,$(INTLIBS)),-lr12)
+    INTLIBS := -lr12 $(INTLIBS)
   endif
 endif
 ifeq ($(findstring Default_Deriv1,$(SUBDIRS)),Default_Deriv1)
-  ifneq ($(findstring -lPSI_deriv,$(INTLIBS)),-lPSI_deriv)
-    INTLIBS := -lPSI_deriv $(INTLIBS)
+  ifneq ($(findstring -lPSI_deriv,$(INTLIBS)),-lderiv)
+    INTLIBS := -lderiv $(INTLIBS)
   endif
 endif
 ifeq ($(findstring Default_Deriv2,$(SUBDIRS)),Default_Deriv2)
-  ifneq ($(findstring -lderiv,$(INTLIBS)),-lPSI_deriv)
-    INTLIBS := -lPSI_deriv $(INTLIBS)
+  ifneq ($(findstring -lderiv,$(INTLIBS)),-lderiv)
+    INTLIBS := -lderiv $(INTLIBS)
   endif
 endif