summaryrefslogtreecommitdiff
path: root/math/tochnog/patches
diff options
context:
space:
mode:
authorjtb <jtb>2001-02-10 04:30:48 +0000
committerjtb <jtb>2001-02-10 04:30:48 +0000
commit6c3a72fc1525f01adfb3ed6a915b610abe683453 (patch)
tree86dd94757b8f054fa24456246c63c0a9363a5d9f /math/tochnog/patches
parentfc51e5d3c9b931fe0f5053fe577d6bb58d1a01d6 (diff)
downloadpkgsrc-6c3a72fc1525f01adfb3ed6a915b610abe683453.tar.gz
Initial import of tochnog:
Finite Element Analysis Program
Diffstat (limited to 'math/tochnog/patches')
-rw-r--r--math/tochnog/patches/patch-aa41
-rw-r--r--math/tochnog/patches/patch-ab12
2 files changed, 53 insertions, 0 deletions
diff --git a/math/tochnog/patches/patch-aa b/math/tochnog/patches/patch-aa
new file mode 100644
index 00000000000..e1c4b1f9797
--- /dev/null
+++ b/math/tochnog/patches/patch-aa
@@ -0,0 +1,41 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/02/10 04:30:48 jtb Exp $
+
+--- makefile.orig Sun Jan 28 09:45:23 2001
++++ makefile
+@@ -21,7 +21,7 @@
+ PROFILE=
+
+ # *********** default environment *******************
+-SRC_CPP=cc
++SRC_CPP=$(CC)
+ SRC_C=c
+ SYS_FILE=sysother
+ BCPP=-P
+@@ -65,7 +65,7 @@
+ ALL_LIB= $(PETSC_LIB) $(SUPERLU_LIB) $(F2C)
+
+ # *********** default platform *******************
+-default: linux_old
++default: netbsd
+
+ # single and multi-processor windows; borland c++ compiler
+ # set SYS_FILE above to syswin32 for multi-processor
+@@ -230,6 +230,18 @@
+ "COMPILER_CPP=gcc" \
+ "LINK_FLAGS_BEFORE=" \
+ "LINK_FLAGS_AFTER= $(PROFILE) $(ALL_LIB) -lstdcpp -lm -o tochnog"
++
++netbsd:
++ make tochnog \
++ "SYS_FILE=sysother" \
++ "OBJ=o" \
++ "BCPP=" \
++ "VCPP=" \
++ "COMPILER_C=$(CC)" \
++ "COMPILER_CPP=$(CXX)" \
++ "COMPILER_FLAGS=$(CFLAGS) -ansi -c $(PROFILE) $(ALL_INCLUDE)" \
++ "LINK_FLAGS_BEFORE=" \
++ "LINK_FLAGS_AFTER= $(PROFILE) $(ALL_LIB) -lm -o tochnog"
+
+ tochnog: adjust.$(OBJ) area.$(OBJ) \
+ beam.$(OBJ) bounda.$(OBJ) calcul.$(OBJ) \
diff --git a/math/tochnog/patches/patch-ab b/math/tochnog/patches/patch-ab
new file mode 100644
index 00000000000..b8b38f1725f
--- /dev/null
+++ b/math/tochnog/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/02/10 04:30:48 jtb Exp $
+
+--- ../test/makefile.orig Fri Feb 9 21:45:48 2001
++++ ../test/makefile
+@@ -1,6 +1,6 @@
+ default: small
+
+-TN="../src/tochnog"
++TN=tochnog
+
+ all: small large very_large
+