diff options
author | Hector Mtz-Seara | 2016-01-18 10:45:13 +0100 |
---|---|---|
committer | Hector Mtz-Seara | 2016-01-18 10:45:13 +0100 |
commit | 5ca813855a72759300bd009dcaaeb4e31a34af7a (patch) | |
tree | 4d00d99437db2e9469183099aae9dca2d75aeea7 /GMXRC.bash.cmakein.patch | |
parent | 66456e6db4839b79452b6f649364ebbb7561ffe6 (diff) | |
download | aur-5ca813855a72759300bd009dcaaeb4e31a34af7a.tar.gz |
Update to 5.0.7-3: Added VMD support and a patch to help changing between gromacs versions
Diffstat (limited to 'GMXRC.bash.cmakein.patch')
-rw-r--r-- | GMXRC.bash.cmakein.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/GMXRC.bash.cmakein.patch b/GMXRC.bash.cmakein.patch new file mode 100644 index 000000000000..f0408d787a2e --- /dev/null +++ b/GMXRC.bash.cmakein.patch @@ -0,0 +1,14 @@ +--- GMXRC.bash.cmakein 2013-11-08 13:09:33.000000000 +0200 ++++ GMXRC.bash.cmakein.patch 2015-02-20 12:48:10.770670309 +0200 +@@ -4,6 +4,11 @@ + # This is not 100% necessary, but very useful when we + # repeatedly switch between gmx versions in a shell. + ++#Patch to avoid problems when gromacs is installed using /usr/ as root ++if [ "$GMXLDLIB" == "/usr/lib" ]; then export GMXLDLIB=""; fi ++if [ "$GMXBIN" == "/usr/bin" ]; then export GMXBIN=""; fi ++if [ "$GMXMAN" == "/usr/share/man" ]; then export GMXMAN=""; fi ++ + # First remove gromacs part of ld_library_path + tmppath="" + for i in `echo $LD_LIBRARY_PATH | sed "s/:/ /g"`; do |