summaryrefslogtreecommitdiff
path: root/math/tetgen/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/tetgen/files')
-rw-r--r--math/tetgen/files/patch-makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/math/tetgen/files/patch-makefile b/math/tetgen/files/patch-makefile
new file mode 100644
index 000000000000..af40d496be43
--- /dev/null
+++ b/math/tetgen/files/patch-makefile
@@ -0,0 +1,25 @@
+--- makefile.orig Mon Jan 9 11:33:37 2006
++++ makefile Mon Jan 9 11:35:33 2006
+@@ -6,7 +6,7 @@
+
+ # CC should be set to the name of your favorite C++ compiler.
+
+-CC = g++
++CC = $(CXX)
+
+ # OPT is the level of optimiztion, default is -O. One should try -O2, -O3
+ # ... to find the best optimization level.
+@@ -23,11 +23,11 @@
+ # down the speed of TetGen. They can be skipped by define the -DNDEBUG
+ # switch.
+
+-CFLAGS =
++CFLAGS ?= $(CXXFLAGS)
+
+ # RM should be set to the name of your favorite rm (file deletion program).
+
+-RM = /bin/rm
++RM ?= /bin/rm
+
+ # The action starts here.
+