summaryrefslogtreecommitdiff
path: root/math/ogdf/files/patch-makeMakefile.config
blob: 1f21ff377f3710abf7fba87a86f5fd690fcc601a (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
41
42
43
44
--- makeMakefile.config.orig	2015-05-29 15:36:39 UTC
+++ makeMakefile.config
@@ -1,19 +1,19 @@
 [GENERAL]
 #**********************************************************
 
-compilerCommand = g++
+compilerCommand = %%CXX%%
 # MAC USERS: if building fails, try the following line:
 #compilerCommand = g++ -stdlib=libstdc++
 
-compilerParams =
+compilerParams = %%CXXFLAGS%%
 
 #* build static (false) or shared (true) libraries
-sharedLib = false
+sharedLib = true
 
 #* command used to create a static library
 libCommand = ar
 #* command used to create a shared library
-sharedlibCommand = g++
+sharedlibCommand = %%CXX%%
 
 #* blank means don't call ranlib
 ranlibCommand = ranlib
@@ -25,7 +25,7 @@ ranlibCommand = ranlib
 rmCommand = rm -rf
 mkdirCommand = mkdir -p
 
-installPrefix = /usr/local
+installPrefix = %%LOCALBASE%%
 
 
 [VERSIONS]
@@ -57,7 +57,7 @@ memoryManager =
 [COIN]
 #**********************************************************
 #* set to "true" to use COIN
-useCoin = true
+useCoin = %%USE_COIN%%
 
 #* name of the static (import) library
 libName = libCOIN.a