File: configure

package info (click to toggle)
yorick-optimpack 1.3.2%2Bdfsg%2B1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 788 kB
  • ctags: 710
  • sloc: ansic: 3,604; makefile: 268
file content (74 lines) | stat: -rw-r--r-- 2,158 bytes parent folder | download | duplicates (3)
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Description: configure this package
 Yorick packages are usually configured by running yorick -batch make.i
 which modifies Makefile. Modifying source files at build time is not
 very well supported in the quilt / git workflow, so let's just patch
 Makefile and not run yorick -batch make.i at build time.
 Likewise let's configure the library build the same way.
Author: Thibaut Paumard <paumard@users.sourceforge.net>
Origin: Vendor
Forwarded: not-needed
Last-Update: 2017-01-07
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/yorick/Makefile
+++ b/yorick/Makefile
@@ -30,11 +30,11 @@
 
 # ---------------------------------------------------------------- Yorick setup
 # these values filled in by `yorick -batch make.i`
-Y_MAKEDIR=
-Y_EXE=
+Y_MAKEDIR=/usr/lib/yorick
+Y_EXE=/usr/lib/yorick/bin/yorick
 Y_EXE_PKGS=
-Y_EXE_HOME=
-Y_EXE_SITE=
+Y_EXE_HOME=/usr/lib/yorick
+Y_EXE_SITE=/usr/lib/yorick
 Y_HOME_PKG=
 
 # ---------------------------------------------------------- optimization flags
--- a/optimpack1/yorick/Makefile
+++ b/optimpack1/yorick/Makefile
@@ -27,11 +27,11 @@
 
 # ---------------------------------------------------------------- Yorick setup
 # these values filled in by    yorick -batch make.i
-Y_MAKEDIR=/usr/local/libexec/yorick
-Y_EXE=/usr/local/libexec/yorick/bin/yorick
+Y_MAKEDIR=/usr/lib/yorick
+Y_EXE=/usr/lib/yorick/bin/yorick
 Y_EXE_PKGS=
-Y_EXE_HOME=/usr/local/libexec/yorick
-Y_EXE_SITE=/usr/local/libexec/yorick
+Y_EXE_HOME=/usr/lib/yorick
+Y_EXE_SITE=/usr/lib/yorick
 
 # ---------------------------------------------------------- optimization flags
 
--- a/src/Makefile
+++ b/src/Makefile
@@ -33,8 +33,8 @@
 INSTALL = cp -p
 
 CC = gcc -pipe
-#CPPFLAGS =  -I. -DOP_INTEGER=long -DOP_LOGICAL=int
-CPPFLAGS = -I.
+CPPFLAGS =  -I. -DOP_INTEGER=long -DOP_LOGICAL=int
+#CPPFLAGS = -I.
 CFLAGS = -O2 -Wall
 
 RM = rm -f
--- a/optimpack1/Makefile
+++ b/optimpack1/Makefile
@@ -2,8 +2,8 @@
  INSTALL=cp -p
 
  CC = gcc -pipe
-#CPPFLAGS =  -I. -DOP_INTEGER=long -DOP_LOGICAL=int
- CPPFLAGS = -I.
+ CPPFLAGS =  -I. -DOP_INTEGER=long -DOP_LOGICAL=int
+#CPPFLAGS = -I.
  CFLAGS = -O2 -Wall
 
  RM = rm -f