1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/cad/calculix/files/patch-libSNL+makefile
Maho Nakata b1e843f8e4 Update to 1.5
PR:             93682
Submitted by:   Pedro F. Giffuni <giffunip@asme.org>
2006-03-15 08:12:00 +00:00

19 lines
436 B
Plaintext

--- libSNL/src/makefile.orig Mon Feb 20 13:50:59 2006
+++ libSNL/src/makefile Mon Feb 20 13:52:03 2006
@@ -14,11 +14,11 @@
libName = libSNL.so.0.2
-export cflags = -Wall -g
-export cname = g++
+export cflags = -fPIC -Wall -g
+export cname = c++
-CXXFLAGS := $(cflags)
-CFLAGS := $(cflags)
+CXXFLAGS ?= $(cflags)
+CFLAGS ?= $(cflags)
libSNL: $(objFiles)
$(cname) $(cflags) -fPIC -shared -o $(libName) $(objFiles)