summaryrefslogtreecommitdiff
path: root/cad/netgen
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-09-01 14:27:08 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-09-01 14:27:08 +0000
commitaa5fba5d3961324515eaf9b6ff39d3052540798c (patch)
tree5860280d4843eee777173d9cfb512bdeb6424202 /cad/netgen
parent- Rename for the upcoming patch (PR 127016) (diff)
- Fix patching
PR: ports/127016 Submitted by: Stephen Montgomery-Smith <stephen at math.missouri.edu>
Notes
Notes: svn path=/head/; revision=219593
Diffstat (limited to 'cad/netgen')
-rw-r--r--cad/netgen/files/patch-libsrc_makefile.mach.FREEBSD18
1 files changed, 6 insertions, 12 deletions
diff --git a/cad/netgen/files/patch-libsrc_makefile.mach.FREEBSD b/cad/netgen/files/patch-libsrc_makefile.mach.FREEBSD
index a42eb4c8fd77..64fc361fdd2e 100644
--- a/cad/netgen/files/patch-libsrc_makefile.mach.FREEBSD
+++ b/cad/netgen/files/patch-libsrc_makefile.mach.FREEBSD
@@ -1,22 +1,16 @@
---- ./libsrc/makefile.mach.FREEBSD.orig Wed May 5 23:24:29 2004
-+++ ./libsrc/makefile.mach.FREEBSD Mon May 28 22:11:10 2007
-@@ -18,9 +18,17 @@
+--- libsrc/makefile.mach.FREEBSD.orig 2004-05-06 05:24:29.000000000 +0800
++++ libsrc/makefile.mach.FREEBSD 2008-09-01 22:24:10.000000000 +0800
+@@ -18,8 +18,11 @@
tcltklib = `echo $(TIX_BUILD_LIB_SPEC)` `echo $(TK_LIB_SPEC)` `echo $(TCL_LIB_FLAG)`
CFLAGS2 =
-CPLUSPLUSFLAGS2 = $(CXXFLAGS) -I$(X11BASE)/include -DLINUX -DOPENGL
-CPLUSPLUSFLAGS3 = -I$(LIBSRC_DIR)/step `echo $(TCL_INCLUDE_SPEC)` `echo -I$(TK_PREFIX)`/include/tk`echo $(TK_VERSION)`
+CPLUSPLUSFLAGS2 = $(CXXFLAGS) -I$(LOCALBASE)/include -DFREEBSD -DOPENGL -DNGSOLVE \
-+ -ftemplate-depth-99 -finline-limit=20000 \
++ -ftemplate-depth-99 -finline-limit=20000 \
+ -funroll-loops
-+
++
+CPLUSPLUSFLAGS3 = -I$(LIBSRC_DIR)/step -I$(TCL_INCLUDEDIR) -I$(TK_INCLUDEDIR)
#
- LINKFLAGS2 = -L$(LOCALBASE)/lib
+ LINKFLAGS2 = -L$(LOCALBASE)/lib -L$(X11BASE)/lib
- SYSLIB2 = -lstdc++
-+
-+appngs = lib/$(MACHINE)/*.o -lngsolvebasic
-+goalngs = goalngs
-+
-+# occlib = -L$(OCCLIB_DIR) -lTKIGES -lTKBRep -lTKSTEP -lTKSTL -pthread