summaryrefslogtreecommitdiff
path: root/cad/astk-serveur/files/patch-etc_profile.sh
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2010-03-26 18:30:46 +0000
committerThierry Thomas <thierry@FreeBSD.org>2010-03-26 18:30:46 +0000
commit0aedfcd5070f48b63d470ce940d507e2f870b70a (patch)
tree6c624dd3abf4cac3982aa6a930bbcfeecfd362be /cad/astk-serveur/files/patch-etc_profile.sh
parentUpgrade to 4.1-2. (diff)
Upgrade ASTK (server & client) to 1.8.0.
Notes
Notes: svn path=/head/; revision=251546
Diffstat (limited to 'cad/astk-serveur/files/patch-etc_profile.sh')
-rw-r--r--cad/astk-serveur/files/patch-etc_profile.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/cad/astk-serveur/files/patch-etc_profile.sh b/cad/astk-serveur/files/patch-etc_profile.sh
new file mode 100644
index 000000000000..a7b12659aaa4
--- /dev/null
+++ b/cad/astk-serveur/files/patch-etc_profile.sh
@@ -0,0 +1,25 @@
+--- etc/profile.sh.orig 2009-12-23 15:53:06.000000000 +0100
++++ etc/profile.sh 2010-02-03 18:56:19.000000000 +0100
+@@ -26,7 +26,7 @@
+ export LD_LIBRARY_PATH=?HOME_PYTHON?/lib:$LD_LIBRARY_PATH
+ fi
+
+-if [ -z "$PATH" ]; then
++if [ -z "$PYTHONPATH" ]; then
+ export PYTHONPATH=?ASRUN_SITE_PKG?
+ else
+ export PYTHONPATH=?ASRUN_SITE_PKG?:$PYTHONPATH
+@@ -37,6 +37,13 @@
+ # this should not be usefull...
+ #export PYTHONHOME=?HOME_PYTHON?
+
++# Might be useful to fix errors on 64 bits platforms
++# See <http://www.code-aster.org/forum/read.php?f=11&i=1603&t=1574>
++HOME_MED=?HOME_MED?
++export HOME_MED
++HOME_HDF=?HOME_HDF?
++export HOME_HDF
++
+ export WISHEXECUTABLE=?WISH_EXE?
+
+