summaryrefslogtreecommitdiff
path: root/math/freefem++/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-12-07 03:13:41 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-12-07 03:13:41 +0000
commit94d36e079d6250bcf8657270a5c3adea46da827c (patch)
treed3be71a04b864bfb1a1a1af126aa547262bbaff4 /math/freefem++/files
parentAdd arpack++, an object-oriented version of the ARPACK package. (diff)
Add FreeFem++, an extension of freefem, an implementation of the Gfem
language dedicated to the finite element method. PR: ports/58536 Submitted by: Thierry Thomas <thierry@pompo.net>
Notes
Notes: svn path=/head/; revision=95236
Diffstat (limited to 'math/freefem++/files')
-rw-r--r--math/freefem++/files/patch-Makefile11
-rw-r--r--math/freefem++/files/patch-src::Makefile-linux35
2 files changed, 46 insertions, 0 deletions
diff --git a/math/freefem++/files/patch-Makefile b/math/freefem++/files/patch-Makefile
new file mode 100644
index 000000000000..64b5a9dde8ca
--- /dev/null
+++ b/math/freefem++/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig Fri Aug 22 15:23:41 2003
++++ Makefile Sat Oct 25 17:10:47 2003
+@@ -3,7 +3,7 @@
+ # ----------------------------------------------
+ src?=./src
+ include $(src)/Makefile-$(HOSTTYPE)
+-CXXFLAGS = $(OPTFLAGS) $(FFFLAGS) $(includedir) $(INCARPACKPP)
++CXXFLAGS+= $(OPTFLAGS) $(FFFLAGS) $(includedir) $(INCARPACKPP)
+ CXXMPIFLAGS= $(CXXFLAGS) $(MPIFLAGS) -DPARALLELE $(INCARPACKPP)
+ LIBS=$(LIBARPACK) $(LIBF77)
+ VERSION=1.34
diff --git a/math/freefem++/files/patch-src::Makefile-linux b/math/freefem++/files/patch-src::Makefile-linux
new file mode 100644
index 000000000000..449fda67d29a
--- /dev/null
+++ b/math/freefem++/files/patch-src::Makefile-linux
@@ -0,0 +1,35 @@
+--- src/Makefile-linux.orig Thu Jan 2 14:30:30 2003
++++ src/Makefile-linux Thu Oct 23 23:42:32 2003
+@@ -1,16 +1,15 @@
+-LIBX11= -L/usr/X11R6/lib -lX11 -lm
+-INCLUDEX11 = /usr/X11R6/include
+-CXX=g++ #C++ compiler
+-CXXMPI=mpiCC # compilation with mpi
+-OOPTFLAGS= -O # compilation with optimisation
++# $FreeBSD$
++LIBX11= -L$(X11BASE)/lib -lX11 -lm
++INCLUDEX11 = $(X11BASE)/include
++OOPTFLAGS= -Wno-deprecated
+ GOPTFLAGS= -g # compilation with debugging
+ #--------------------------------------------------
+ # the flag of eigen value part with arpack++ tools
+ #-------------------------------------------------
+ EIGEN= eigenvalue.o
+-LIBARPACK= -L../../arpack/ARPACK -larpack_linux -llapack -lblas
+-LIBF77= -lg2c
+-INCARPACKPP = -DEIGENVALUE -I../../arpack/arpack++/include
++LIBARPACK= -L$(LOCALBASE)/lib ${LOCALBASE}/lib/libarpack.a -lalapack -lf77blas -lcblas -latlas
++LIBF77= -lg2c -lm
++INCARPACKPP = -DEIGENVALUE -I$(LOCALBASE)/include/ARPACK++
+ # ------------------------------
+ # compilation flags of FreeFem++
+ # ------------------------------
+@@ -29,7 +28,7 @@
+ # ---------------------------
+ # install and compile dir.
+ # ----------------------
+-BIN_DIR=$(HOME)/bin-$(HOSTTYPE)
++BIN_DIR=$(PREFIX)/bin
+ COMPILE_DIR=c-$(HOSTTYPE)
+ #----------------------
+