ports/math/ogdf/files/patch-makeMakefile.config
Kurt Jaeger 141a25e582 math/ogdf: 2012.07 -> 2015.05
Changes:
  http://www.ogdf.net/doku.php/tech:versions#v_201505_baobab

- Remove dependencies on math/abacus and math/coinmp, as they are
  now bundled into the OGDF source tarballs and compiled from there
  (COIN remains optional)
- Point MASTER_SITES to the official OGDF website
- Utilise USES=compiler:features to detect C++11 support, and
  add compiler flags -std=c++11 if so (required for build to complete
  without errors)
- Remove custom do-install recipe, and instead use default
  make install target
- Take maintainership

PR:		207531
Submitted by:	Ben Woods <woodsb02@gmail.com>
2016-03-09 16:49:38 +00:00

44 lines
1.1 KiB
Text

--- 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