ports/cad/calculix/files/patch-libSNL_src_makefile
Pedro F. Giffuni bb96106e5f Update CalculiX to version 2.12.
New features listed here:
http://www.dhondt.de/new_calc.htm

Rename a patch to make portlint/makepatch less noisy.
Reset the maintainer at request.

PR: 218635
Approved by:	maho
2017-06-28 02:43:31 +00:00

18 lines
404 B
Text

--- libSNL/src/makefile.orig 2015-07-30 21:36:35 UTC
+++ libSNL/src/makefile
@@ -15,11 +15,11 @@ objFiles := snlCircularOffsetCurve.o \
libName = libSNL.so.0.2
-export cflags = -Wall -fPIC -O3
-export cname = g++
+export cflags = -fPIC -Wall -O3
+export cname = c++
-CXXFLAGS := $(cflags)
-CFLAGS := $(cflags)
+CXXFLAGS ?= $(cflags)
+CFLAGS ?= $(cflags)
libSNL: $(objFiles)
@ echo