summaryrefslogtreecommitdiff
path: root/math/goblin/files/patch-Makefile
blob: 7e201742f88f6d0a46e2c1e2884cc198f52b4304 (plain) (blame)
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
--- Makefile.orig	Wed Oct  9 18:54:01 2002
+++ Makefile	Wed Oct  9 18:55:21 2002
@@ -25,13 +25,13 @@
 
 # GNU
 
-cpp = g++ -c -O5 -Wall -pedantic -Iinclude $(vflags)
+cpp = g++ -c -O5 -Wall -pedantic -Iinclude $(vflags) %%CXXFLAGS%%
 # To link with the static library libtcl.*.a
-link = g++ -lm -lpthread
+link = g++ -lm -lpthread %%LIBS%%
 # To link with the shared object libtcl.*.so
 # link = g++ -lm -Wl,-brtl -lpthreads -bbigtoc
 # To link shared object
-linkShared = g++ -lm -lpthread -Wl,-shared
+linkShared = g++ -lm -lpthread -Wl,-shared %%LIBS%%
 
 # xlC
 
@@ -46,15 +46,15 @@
 
 # Tcl/Tk Release
 
-libtcl = 8.3
-libtk = 8.3
+libtcl = 83
+libtk = 83
 
 
 # System Installation
 
-goblin_include_path = /usr/include
-goblin_lib_path     = /usr/lib
-goblin_bin_path     = /usr/bin
+goblin_include_path = %%PREFIX%%/include
+goblin_lib_path     = %%PREFIX%%/lib
+goblin_bin_path     = %%PREFIX%%/bin
 
 
 #------------------------------------------------------------------------