summaryrefslogtreecommitdiff
path: root/math/metis-edf/files/patch-CONFIG_onmetis.in
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2010-03-26 18:30:45 +0000
committerThierry Thomas <thierry@FreeBSD.org>2010-03-26 18:30:45 +0000
commitd13e955c6759b9e3d4f1090a884aa02031ca89be (patch)
tree89a20e82abbe36e5d2fc23d88270b1aa0d63aa7b /math/metis-edf/files/patch-CONFIG_onmetis.in
parentUpgrade eficas and eficas_doc to 1.17.0-1. (diff)
Upgrade to 4.1-2.
Notes
Notes: svn path=/head/; revision=251545
Diffstat (limited to 'math/metis-edf/files/patch-CONFIG_onmetis.in')
-rw-r--r--math/metis-edf/files/patch-CONFIG_onmetis.in16
1 files changed, 12 insertions, 4 deletions
diff --git a/math/metis-edf/files/patch-CONFIG_onmetis.in b/math/metis-edf/files/patch-CONFIG_onmetis.in
index d6671aa4ce9c..e04195c98c55 100644
--- a/math/metis-edf/files/patch-CONFIG_onmetis.in
+++ b/math/metis-edf/files/patch-CONFIG_onmetis.in
@@ -1,14 +1,22 @@
---- CONFIG/onmetis.in.orig 2008-12-16 13:28:55.000000000 +0100
-+++ CONFIG/onmetis.in 2009-01-19 21:56:08.000000000 +0100
+--- CONFIG/onmetis.in.orig 2009-12-03 11:35:06.000000000 +0100
++++ CONFIG/onmetis.in 2010-01-31 13:41:59.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /bin/sh
#
# shell-script to call METIS from CODE_ASTER
# $1 : data file for METIS (numerotation)
-@@ -10,9 +10,6 @@
+@@ -8,17 +8,8 @@
+ # $3 : result file (default fort.85)
+ #
# install directory
- METIS_INSTALL=HOME_METIS
+-set_prefix() {
+- local this=`readlink -n -f $1`
+- prefix=`dirname $this`
+-}
+-
+-set_prefix $0
+ METIS_INSTALL=$prefix
-LD_LIBRARY_PATH=LD_LIB_PATH_VALUE:$LD_LIBRARY_PATH
-export LD_LIBRARY_PATH