diff options
| author | Oliver Lehmann <oliver@FreeBSD.org> | 2003-07-23 08:37:16 +0000 |
|---|---|---|
| committer | Oliver Lehmann <oliver@FreeBSD.org> | 2003-07-23 08:37:16 +0000 |
| commit | 9fd1a0b83282b23a8c9624130a3835f777770ab1 (patch) | |
| tree | 6f13a7cf8394b6f0d2bcd7707d19beba1c4ba430 /math/metis-edf/files | |
| parent | Update to 1.3.1 Service Release 5. (diff) | |
Add metis-edf 3, meshes partionning tool used by Code_Aster.
PR: 53909
Submitted by: thierry@pompo.net
Diffstat (limited to 'math/metis-edf/files')
| -rw-r--r-- | math/metis-edf/files/patch-CONFIG::configure | 43 | ||||
| -rw-r--r-- | math/metis-edf/files/patch-Programs::Makefile | 11 | ||||
| -rw-r--r-- | math/metis-edf/files/patch-Test::Makefile | 11 |
3 files changed, 65 insertions, 0 deletions
diff --git a/math/metis-edf/files/patch-CONFIG::configure b/math/metis-edf/files/patch-CONFIG::configure new file mode 100644 index 000000000000..d361908d84f0 --- /dev/null +++ b/math/metis-edf/files/patch-CONFIG::configure @@ -0,0 +1,43 @@ +--- CONFIG/configure.orig Mon Dec 16 18:11:44 2002 ++++ CONFIG/configure Sun Jun 29 14:58:48 2003 +@@ -18,7 +18,7 @@ + if [ -z "$rtn" ] || [ "$rtn" = "y" -o "$rtn" = "Y" ]; then + OS_TYPE=SunOS64 + fi +-elif [ $OS_TYPE != "OSF1" -a $OS_TYPE != "IRIX64" -a $OS_TYPE != "Linux" ]; then ++elif [ $OS_TYPE != "OSF1" -a $OS_TYPE != "IRIX64" -a $OS_TYPE != "Linux" -a $OS_TYPE != "FreeBSD" ]; then + echo " Operating system $OS_TYPE unknown on this distribution" + echo " Installation failed !" + exit 8 +@@ -30,14 +30,23 @@ + # FOPTIONS : Fortran compiler options, + # LDOPTIONS : link options, AR : archiver + +-CC="cc" +-F90="f90" +-LD="$F90" +-COPTIONS="" +-FOPTIONS="" +-LDOPTIONS="-L. -L.." +-OPTFLAGS="-O" +-AR="ar rv" ++if [ $OS_TYPE = "FreeBSD" ]; then ++ CC="$CC" ++ F90="$F77" ++ LD="$LD" ++ COPTIONS="$CFLAGS" ++ LDOPTIONS="$LDFLAGS -lc -lg2c -L. -L.." ++ AR="$AR rv" ++else ++ CC="cc" ++ F90="f90" ++ LD="$F90" ++ COPTIONS="" ++ FOPTIONS="" ++ LDOPTIONS="-L. -L.." ++ OPTFLAGS="-O" ++ AR="ar rv" ++fi + if [ $OS_TYPE = "Linux" ]; then + CC="gcc" + F90="g77" diff --git a/math/metis-edf/files/patch-Programs::Makefile b/math/metis-edf/files/patch-Programs::Makefile new file mode 100644 index 000000000000..f50d7d73bce3 --- /dev/null +++ b/math/metis-edf/files/patch-Programs::Makefile @@ -0,0 +1,11 @@ +--- Programs/Makefile.orig Thu Dec 12 13:47:59 2002 ++++ Programs/Makefile Sun Jun 29 15:39:26 2003 +@@ -11,7 +11,7 @@ + + + +-ONMETISOBJS = onmetis.o io.o smbfactor.o ecri11.o lect11.o lect00.o ++ONMETISOBJS = onmetis.o io.o smbfactor.o ecri11.o lect11.o lect00.o /usr/lib/crt1.o + + + diff --git a/math/metis-edf/files/patch-Test::Makefile b/math/metis-edf/files/patch-Test::Makefile new file mode 100644 index 000000000000..85f5ddecfed0 --- /dev/null +++ b/math/metis-edf/files/patch-Test::Makefile @@ -0,0 +1,11 @@ +--- Test/Makefile.orig Thu Dec 12 13:47:59 2002 ++++ Test/Makefile Sun Jun 29 16:00:25 2003 +@@ -4,7 +4,7 @@ + + vers_check: + @echo "### Test 2 : test --version option, onmetis returns :" +- (../onmetis --version ; exit 0) ++ @echo `../onmetis --version` + @echo " " + + fort.85 : fort.81 |
