SHA256
1
0
forked from pool/Modules
Modules/share.patch

442 lines
20 KiB
Diff

diff -wruN -x '*~' ../orig-modules-3.2.9/configure ./configure
--- ../orig-modules-3.2.9/configure 2011-11-29 16:49:37.000000000 +0100
+++ ./configure 2012-09-10 10:12:14.088801974 +0200
@@ -1484,9 +1484,9 @@
(tclExtend.h,...) [[none]]
--with-module-path=<path>
use module path=<path>
- [[PREFIX/Modules/modulefiles]]
+ [[PREFIX/share/Modules/modulefiles]]
--with-version-path=<path>
- use version path=<path> [[PREFIX/Modules/versions]]
+ use version path=<path> [[PREFIX/share/Modules/versions]]
--with-tmp-dir=<dir> use <dir> as a temporary dir [[/tmp]]
--with-man-path=<dir> use <dir> for the default MANPATH
[[/usr/man:/usr/share/man]]
@@ -1503,19 +1503,19 @@
Depending on the above configuration options the files are approximately
placed in the following directory structure :
-PREFIX/Modules/($MODULES_VERSION/ if modules-versioning)
+PREFIX/share/Modules/($MODULES_VERSION/ if modules-versioning)
bin/
init/
man/
man1/
man4/
modulefiles/
-PREFIX/Modules/
+PREFIX/share/Modules/
modulefiles/
(versions/ if modules-versioning)
System modulefiles can safely be placed in:
-PREFIX/Modules/modulefiles
+PREFIX/share/Modules/modulefiles
Some influential environment variables:
@@ -2905,31 +2905,31 @@
fi
if test "$prefix" != "NONE" ; then
if test "$WANTS_VERSIONING" -eq 1 ; then
- DEFAULTPATH=$prefix/Modules/default
- NODEFAULTPATH=$prefix/Modules/$VERSION
+ DEFAULTPATH=$prefix/share/Modules/default
+ NODEFAULTPATH=$prefix/share/Modules/$VERSION
BASEPREFIX=$prefix
- prefix=$BASEPREFIX/Modules/$VERSION
+ prefix=$BASEPREFIX/share/Modules/$VERSION
export prefix
else
- DEFAULTPATH=$prefix/Modules
- NODEFAULTPATH=$prefix/Modules
+ DEFAULTPATH=$prefix/share/Modules
+ NODEFAULTPATH=$prefix/share/Modules
BASEPREFIX=$prefix
- prefix=$BASEPREFIX/Modules
+ prefix=$BASEPREFIX/share/Modules
export prefix
fi
PREFIX=$prefix
else
if test "$WANTS_VERSIONING" -eq 1 ; then
- DEFAULTPATH=$ac_default_prefix/Modules/default
- NODEFAULTPATH=$ac_default_prefix/Modules/$VERSION
+ DEFAULTPATH=$ac_default_prefix/share/Modules/default
+ NODEFAULTPATH=$ac_default_prefix/share/Modules/$VERSION
BASEPREFIX=$ac_default_prefix
- ac_default_prefix=$BASEPREFIX/Modules/$VERSION
+ ac_default_prefix=$BASEPREFIX/share/Modules/$VERSION
export ac_default_prefix
else
- DEFAULTPATH=$ac_default_prefix/Modules
- NODEFAULTPATH=$ac_default_prefix/Modules
+ DEFAULTPATH=$ac_default_prefix/share/Modules
+ NODEFAULTPATH=$ac_default_prefix/share/Modules
BASEPREFIX=$ac_default_prefix
- ac_default_prefix=$BASEPREFIX/Modules
+ ac_default_prefix=$BASEPREFIX/share/Modules
export ac_default_prefix
fi
PREFIX=$ac_default_prefix
@@ -7462,7 +7462,7 @@
_ACEOF
else
- withval="$BASEPREFIX/Modules/modulefiles"
+ withval="$BASEPREFIX/share/Modules/modulefiles"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will use MODULEPATH=$withval : rerun configure using --with-module-path to override default" >&5
$as_echo "$as_me: WARNING: will use MODULEPATH=$withval : rerun configure using --with-module-path to override default" >&2;}
MODULEPATH="$withval"
@@ -7484,7 +7484,7 @@
else
if test "$WANTS_VERSIONING" -eq 1 ; then
- withval="$BASEPREFIX/Modules/versions"
+ withval="$BASEPREFIX/share/Modules/versions"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: will use VERSIONPATH=$withval : rerun configure using --with-version-path to override default" >&5
$as_echo "$as_me: WARNING: will use VERSIONPATH=$withval : rerun configure using --with-version-path to override default" >&2;}
VERSIONPATH="$withval"
diff -wruN -x '*~' ../orig-modules-3.2.9/configure.ac ./configure.ac
--- ../orig-modules-3.2.9/configure.ac 2011-11-28 23:57:59.000000000 +0100
+++ ./configure.ac 2012-09-10 10:12:14.092802142 +0200
@@ -110,31 +110,31 @@
fi
if test "$prefix" != "NONE" ; then
if test "$WANTS_VERSIONING" -eq 1 ; then
- DEFAULTPATH=$prefix/Modules/default
- NODEFAULTPATH=$prefix/Modules/$VERSION
+ DEFAULTPATH=$prefix/share/Modules/default
+ NODEFAULTPATH=$prefix/share/Modules/$VERSION
BASEPREFIX=$prefix
- prefix=$BASEPREFIX/Modules/$VERSION
+ prefix=$BASEPREFIX/share/Modules/$VERSION
export prefix
else
- DEFAULTPATH=$prefix/Modules
- NODEFAULTPATH=$prefix/Modules
+ DEFAULTPATH=$prefix/share/Modules
+ NODEFAULTPATH=$prefix/share/Modules
BASEPREFIX=$prefix
- prefix=$BASEPREFIX/Modules
+ prefix=$BASEPREFIX/share/Modules
export prefix
fi
PREFIX=$prefix
else
if test "$WANTS_VERSIONING" -eq 1 ; then
- DEFAULTPATH=$ac_default_prefix/Modules/default
- NODEFAULTPATH=$ac_default_prefix/Modules/$VERSION
+ DEFAULTPATH=$ac_default_prefix/share/Modules/default
+ NODEFAULTPATH=$ac_default_prefix/share/Modules/$VERSION
BASEPREFIX=$ac_default_prefix
- ac_default_prefix=$BASEPREFIX/Modules/$VERSION
+ ac_default_prefix=$BASEPREFIX/share/Modules/$VERSION
export ac_default_prefix
else
- DEFAULTPATH=$ac_default_prefix/Modules
- NODEFAULTPATH=$ac_default_prefix/Modules
+ DEFAULTPATH=$ac_default_prefix/share/Modules
+ NODEFAULTPATH=$ac_default_prefix/share/Modules
BASEPREFIX=$ac_default_prefix
- ac_default_prefix=$BASEPREFIX/Modules
+ ac_default_prefix=$BASEPREFIX/share/Modules
export ac_default_prefix
fi
PREFIX=$ac_default_prefix
@@ -815,13 +815,13 @@
AH_TEMPLATE([MODULEPATH],[
MODULEPATH: Directory that contains all the system module files])dnl
AC_ARG_WITH(module-path,
- AC_HELP_STRING([--with-module-path=<path>],[use module path=<path> [[PREFIX/Modules/modulefiles]]]),
+ AC_HELP_STRING([--with-module-path=<path>],[use module path=<path> [[PREFIX/share/Modules/modulefiles]]]),
MODULEPATH="$withval"
AC_MSG_RESULT([MODULEPATH = $with_module_path])
AC_DEFINE_UNQUOTED(MODULEPATH, "$withval")dnl
,
dnl AC_MSG_WARN([if using '--with-module-path': need to specify a path!])
- withval="$BASEPREFIX/Modules/modulefiles"
+ withval="$BASEPREFIX/share/Modules/modulefiles"
AC_MSG_WARN([will use MODULEPATH=$withval : rerun configure using --with-module-path to override default])
MODULEPATH="$withval"
AC_DEFINE_UNQUOTED(MODULEPATH, "$withval"))dnl
@@ -832,14 +832,14 @@
AH_TEMPLATE([VERSIONPATH],[
VERSIONPATH: Directory that contains the env.modules version files.])dnl
AC_ARG_WITH(version-path,
- AC_HELP_STRING([--with-version-path=<path>],[use version path=<path> [[PREFIX/Modules/versions]]]),
+ AC_HELP_STRING([--with-version-path=<path>],[use version path=<path> [[PREFIX/share/Modules/versions]]]),
VERSIONPATH="$withval"
AC_MSG_RESULT([VERSIONPATH = $with_version_path])
AC_DEFINE_UNQUOTED(VERSIONPATH, "$withval")
,
if test "$WANTS_VERSIONING" -eq 1 ; then
dnl AC_MSG_WARN([if using '--with-version-path': need to specify a path!])
- withval="$BASEPREFIX/Modules/versions"
+ withval="$BASEPREFIX/share/Modules/versions"
AC_MSG_WARN([will use VERSIONPATH=$withval : rerun configure using --with-version-path to override default])
VERSIONPATH="$withval"
AC_DEFINE_UNQUOTED(VERSIONPATH, "$withval")
@@ -960,19 +960,19 @@
Depending on the above configuration options the files are approximately
placed in the following directory structure :
-PREFIX/Modules/($MODULES_VERSION/ if modules-versioning)
+PREFIX/share/Modules/($MODULES_VERSION/ if modules-versioning)
bin/
init/
man/
man1/
man4/
modulefiles/
-PREFIX/Modules/
+PREFIX/share/Modules/
modulefiles/
(versions/ if modules-versioning)
System modulefiles can safely be placed in:
-PREFIX/Modules/modulefiles
+PREFIX/share/Modules/modulefiles
]])dnl
dnl ---------------------------------------------------------------------------
dnl Now put it all out!
diff -wruN -x '*~' ../orig-modules-3.2.9/etc/add.modules.in ./etc/add.modules.in
--- ../orig-modules-3.2.9/etc/add.modules.in 2010-11-11 19:23:18.000000000 +0100
+++ ./etc/add.modules.in 2012-09-10 10:19:36.291421512 +0200
@@ -144,7 +144,7 @@
-zsh|zsh|*/zsh) modules_shell=zsh ;;
-bash|bash|*/bash) modules_shell=bash ;;
esac
-@VERSIONING@module() { eval \`@BASEPREFIX@/Modules/\$MODULE_VERSION/bin/modulecmd \$modules_shell \$*\`; }
+@VERSIONING@module() { eval \`@BASEPREFIX@/share/Modules/\$MODULE_VERSION/bin/modulecmd \$modules_shell \$*\`; }
@NOTVERSIONING@module() { eval \`@bindir@/modulecmd \$modules_shell \$*\`; }
!
elif [ x$3 = xcsh ]
diff -wruN -x '*~' ../orig-modules-3.2.9/etc/global/bashrc.in ./etc/global/bashrc.in
--- ../orig-modules-3.2.9/etc/global/bashrc.in 2010-11-11 19:23:18.000000000 +0100
+++ ./etc/global/bashrc.in 2012-09-10 10:20:00.468439340 +0200
@@ -11,7 +11,7 @@
-zsh|zsh|*/zsh) modules_shell=zsh ;;
-bash|bash|*/bash) modules_shell=bash ;;
esac
-@VERSIONING@eval "module() { eval \`@BASEPREFIX@/Modules\$MODULE_VERSION/bin/modulecmd $modules_shell \$*\`; }"
+@VERSIONING@eval "module() { eval \`@BASEPREFIX@/share/Modules\$MODULE_VERSION/bin/modulecmd $modules_shell \$*\`; }"
@NOTVERSIONING@eval "module() { eval \`@bindir@/modulecmd $modules_shell \$*\`; }"
unset modules_shell
diff -wruN -x '*~' ../orig-modules-3.2.9/etc/global/csh.cshrc.in ./etc/global/csh.cshrc.in
--- ../orig-modules-3.2.9/etc/global/csh.cshrc.in 2002-06-14 08:15:20.000000000 +0200
+++ ./etc/global/csh.cshrc.in 2012-09-10 10:20:08.220765705 +0200
@@ -10,7 +10,7 @@
set modules_shell="csh"
endif
-@VERSIONING@alias module 'eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
+@VERSIONING@alias module 'eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
@NOTVERSIONING@alias module 'eval `@bindir@/modulecmd '$modules_shell '\!*`'
unset modules_shell
diff -wruN -x '*~' ../orig-modules-3.2.9/etc/skel/.cshrc.in ./etc/skel/.cshrc.in
--- ../orig-modules-3.2.9/etc/skel/.cshrc.in 2002-06-14 08:15:21.000000000 +0200
+++ ./etc/skel/.cshrc.in 2012-09-10 10:21:44.688826752 +0200
@@ -4,7 +4,7 @@
else
set modules_shell="csh"
endif
-@VERSIONING@alias module 'eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
+@VERSIONING@alias module 'eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
@NOTVERSIONING@alias module 'eval `@bindir@/modulecmd '$modules_shell '\!*`'
if (! $?prompt) exit #exit if not interactive
diff -wruN -x '*~' ../orig-modules-3.2.9/etc/skel/.kshenv.in ./etc/skel/.kshenv.in
--- ../orig-modules-3.2.9/etc/skel/.kshenv.in 2002-06-14 08:15:21.000000000 +0200
+++ ./etc/skel/.kshenv.in 2012-09-10 10:21:52.657162178 +0200
@@ -4,7 +4,7 @@
-ksh|ksh|*/ksh) modules_shell=ksh ;;
-bash|bash|*/bash) modules_shell=bash ;;
esac
-@VERSIONING@eval "module() { eval `@BASEPREFIX@/Modules/\$MODULE_VERSION/bin/modulecmd $modules_shell $*`; }"
+@VERSIONING@eval "module() { eval `@BASEPREFIX@/share/Modules/\$MODULE_VERSION/bin/modulecmd $modules_shell $*`; }"
@NOTVERSIONING@eval "module() { eval `@bindir@/modulecmd $modules_shell $*`; }"
unset modules_shell
diff -wruN -x '*~' ../orig-modules-3.2.9/ext/common/.cshrc.in ./ext/common/.cshrc.in
--- ../orig-modules-3.2.9/ext/common/.cshrc.in 2002-06-14 08:15:21.000000000 +0200
+++ ./ext/common/.cshrc.in 2012-09-10 10:21:06.015198726 +0200
@@ -4,7 +4,7 @@
else
set modules_shell="csh"
endif
-alias module 'eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
+alias module 'eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd '$modules_shell '\!*`'
if ( -f $HOME/.cshrc.ext ) then
source $HOME/.cshrc.ext
diff -wruN -x '*~' ../orig-modules-3.2.9/ext/common/.kshenv.in ./ext/common/.kshenv.in
--- ../orig-modules-3.2.9/ext/common/.kshenv.in 2002-06-14 08:15:21.000000000 +0200
+++ ./ext/common/.kshenv.in 2012-09-10 10:21:12.871487357 +0200
@@ -4,7 +4,7 @@
-ksh|ksh|*/ksh) modules_shell=ksh ;;
-bash|bash|*/bash) modules_shell=bash ;;
esac
-module() { eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd $modules_shell $*`; }
+module() { eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd $modules_shell $*`; }
if [ -f ${ENV:-$HOME/.kshenv.ext} ]; then
. ${ENV:-$HOME/.kshenv.ext}
diff -wruN -x '*~' ../orig-modules-3.2.9/init/bash_completion.in ./init/bash_completion.in
--- ../orig-modules-3.2.9/init/bash_completion.in 2010-07-27 21:09:06.000000000 +0200
+++ ./init/bash_completion.in 2012-09-10 10:22:45.543388781 +0200
@@ -2,7 +2,7 @@
# Bash commandline completion (bash 3.0 and above) for Modules @VERSION@
#
_module_avail() {
-@VERSIONING@ @BASEPREFIX@/Modules/@VERSION@/bin/modulecmd bash -t avail 2>&1 | sed '
+@VERSIONING@ @BASEPREFIX@/share/Modules/@VERSION@/bin/modulecmd bash -t avail 2>&1 | sed '
@NOTVERSIONING@ @bindir@/modulecmd bash -t avail 2>&1 | sed '
/:$/d;
/:ERROR:/d;
diff -wruN -x '*~' ../orig-modules-3.2.9/init/bash.in ./init/bash.in
--- ../orig-modules-3.2.9/init/bash.in 2010-11-11 19:23:18.000000000 +0100
+++ ./init/bash.in 2012-09-10 10:24:04.194703624 +0200
@@ -7,7 +7,7 @@
@VERSIONING@fi
@VERSIONING@export MODULE_VERSION_STACK
-@VERSIONING@module() { eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd bash $*`; }
+@VERSIONING@module() { eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd bash $*`; }
@NOTVERSIONING@module() { eval `@bindir@/modulecmd bash $*`; }
export -f module
diff -wruN -x '*~' ../orig-modules-3.2.9/init/cmake.in ./init/cmake.in
--- ../orig-modules-3.2.9/init/cmake.in 2010-11-11 19:23:18.000000000 +0100
+++ ./init/cmake.in 2012-09-10 10:22:52.063663594 +0200
@@ -6,7 +6,7 @@
@VERSIONING@endif()
function(module ARGS)
-@VERSIONING@ set(exec_prefix "@BASEPREFIX@/Modules/$ENV{MODULE_VERSION}/bin")
+@VERSIONING@ set(exec_prefix "@BASEPREFIX@/share/Modules/$ENV{MODULE_VERSION}/bin")
@NOTVERSIONING@ set(exec_prefix "@bindir@")
diff -wruN -x '*~' ../orig-modules-3.2.9/init/csh.in ./init/csh.in
--- ../orig-modules-3.2.9/init/csh.in 2010-11-11 19:23:18.000000000 +0100
+++ ./init/csh.in 2012-09-10 10:23:09.980418728 +0200
@@ -9,7 +9,7 @@
@VERSIONING@ setenv MODULE_VERSION "@VERSION@"
@VERSIONING@ setenv MODULE_VERSION_STACK "@VERSION@"
@VERSIONING@endif
-@VERSIONING@set exec_prefix='@BASEPREFIX@/Modules/$MODULE_VERSION'
+@VERSIONING@set exec_prefix='@BASEPREFIX@/share/Modules/$MODULE_VERSION'
@NOTVERSIONING@set exec_prefix='@bindir@'
set prefix=""
diff -wruN -x '*~' ../orig-modules-3.2.9/init/ksh.in ./init/ksh.in
--- ../orig-modules-3.2.9/init/ksh.in 2010-11-11 19:23:18.000000000 +0100
+++ ./init/ksh.in 2012-09-10 10:23:19.488819479 +0200
@@ -7,7 +7,7 @@
@VERSIONING@fi
@VERSIONING@export MODULE_VERSION_STACK
-@VERSIONING@module() { eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd ksh $*`; }
+@VERSIONING@module() { eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd ksh $*`; }
@NOTVERSIONING@module() { eval `@bindir@/modulecmd ksh $*`; }
MODULESHOME=@prefix@
diff -wruN -x '*~' ../orig-modules-3.2.9/init/.modulespath.in ./init/.modulespath.in
--- ../orig-modules-3.2.9/init/.modulespath.in 2010-11-11 19:23:18.000000000 +0100
+++ ./init/.modulespath.in 2012-09-10 10:28:34.310087174 +0200
@@ -14,7 +14,7 @@
# limited by the maximum variable size of your shell.
#
@VERSIONING@@VERSIONPATH@ # location of version files
-@VERSIONING@@BASEPREFIX@/Modules/$MODULE_VERSION/modulefiles # Module pkg modulefiles (if versioning)
-@NOTVERSIONING@@BASEPREFIX@/Modules/modulefiles # Module pkg modulefiles (if no versioning)
+@VERSIONING@@BASEPREFIX@/share/Modules/$MODULE_VERSION/modulefiles # Module pkg modulefiles (if versioning)
+@NOTVERSIONING@@BASEPREFIX@/share/Modules/modulefiles # Module pkg modulefiles (if no versioning)
@MODULEPATH@ # General module files
#@prefix@/your_contribs # Edit for your requirements
diff -wruN -x '*~' ../orig-modules-3.2.9/init/perl.pm.in ./init/perl.pm.in
--- ../orig-modules-3.2.9/init/perl.pm.in 2010-11-11 19:23:18.000000000 +0100
+++ ./init/perl.pm.in 2012-09-10 10:23:23.744998856 +0200
@@ -7,7 +7,7 @@
sub module {
local ($exec_prefix);
-@VERSIONING@ $exec_prefix = "@BASEPREFIX@/Modules/".$ENV{"MODULE_VERSION"};
+@VERSIONING@ $exec_prefix = "@BASEPREFIX@/share/Modules/".$ENV{"MODULE_VERSION"};
@VERSIONING@ eval `$exec_prefix/bin/modulecmd perl @_`;
@NOTVERSIONING@ $exec_prefix = "@bindir@";
diff -wruN -x '*~' ../orig-modules-3.2.9/init/python.py.in ./init/python.py.in
--- ../orig-modules-3.2.9/init/python.py.in 2010-11-11 19:23:18.000000000 +0100
+++ ./init/python.py.in 2012-09-10 10:23:32.481367054 +0200
@@ -24,7 +24,7 @@
args = args[0]
else:
args = list(args)
-@VERSIONING@ (output, error) = subprocess.Popen(['@BASEPREFIX@/Modules/%s/bin/modulecmd' % os.environ['MODULE_VERSION'], 'python'] +
+@VERSIONING@ (output, error) = subprocess.Popen(['@BASEPREFIX@/share/Modules/%s/bin/modulecmd' % os.environ['MODULE_VERSION'], 'python'] +
@NOTVERSIONING@ (output, error) = subprocess.Popen(['@bindir@/modulecmd', 'python'] +
args, stdout=subprocess.PIPE).communicate()
exec output
diff -wruN -x '*~' ../orig-modules-3.2.9/init/ruby.rb.in ./init/ruby.rb.in
--- ../orig-modules-3.2.9/init/ruby.rb.in 2011-10-17 18:45:40.000000000 +0200
+++ ./init/ruby.rb.in 2012-09-10 10:23:37.937597014 +0200
@@ -22,7 +22,7 @@
else
args = args.join(" ")
end
-@VERSIONING@ exec_prefix = "@BASEPREFIX@/Modules/#{ENV['MODULE_VERSION']}"
+@VERSIONING@ exec_prefix = "@BASEPREFIX@/share/Modules/#{ENV['MODULE_VERSION']}"
@VERSIONING@ eval `#{exec_prefix}/bin/modulecmd ruby #{args}`
@NOTVERSIONING@ exec_prefix = "@bindir@"
diff -wruN -x '*~' ../orig-modules-3.2.9/init/sh.in ./init/sh.in
--- ../orig-modules-3.2.9/init/sh.in 2010-11-11 19:23:18.000000000 +0100
+++ ./init/sh.in 2012-09-10 10:23:45.521916658 +0200
@@ -7,7 +7,7 @@
@VERSIONING@fi
@VERSIONING@export MODULE_VERSION_STACK
-@VERSIONING@module() { eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd sh $*`; }
+@VERSIONING@module() { eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd sh $*`; }
@NOTVERSIONING@module() { eval `@bindir@/modulecmd sh $*`; }
MODULESHOME=@prefix@
diff -wruN -x '*~' ../orig-modules-3.2.9/init/zsh.in ./init/zsh.in
--- ../orig-modules-3.2.9/init/zsh.in 2010-11-11 19:23:18.000000000 +0100
+++ ./init/zsh.in 2012-09-10 10:23:53.082235275 +0200
@@ -7,7 +7,7 @@
@VERSIONING@fi
@VERSIONING@export MODULE_VERSION_STACK
-@VERSIONING@module() { eval `@BASEPREFIX@/Modules/$MODULE_VERSION/bin/modulecmd zsh $*`; }
+@VERSIONING@module() { eval `@BASEPREFIX@/share/Modules/$MODULE_VERSION/bin/modulecmd zsh $*`; }
@NOTVERSIONING@module() { eval `@bindir@/modulecmd zsh $*`; }
MODULESHOME=@prefix@
diff -wruN -x '*~' ../orig-modules-3.2.9/INSTALL ./INSTALL
--- ../orig-modules-3.2.9/INSTALL 2006-01-12 20:14:24.000000000 +0100
+++ ./INSTALL 2012-09-10 10:12:14.056800627 +0200
@@ -103,7 +103,7 @@
your system root, else it may get wiped out with every OS upgrade.
The default is /usr/local/Modules/modulefiles/. You will use the
--with-module-path=<path> option to the configure script to set this
-directory. The default is $prefix/Modules/modulefiles, where
+directory. The default is $prefix/share/Modules/modulefiles, where
$prefix is set by the the --prefix configure option. (The default
is /usr/local.)
After the initial hardwork of getting the module command
@@ -152,7 +152,7 @@
--prefix=/alternate/usr/local/or/equivalent/1.0/eg
The default for --prefix is /usr/local ($prefix).
-The default for --with-module-path is "$prefix/Modules/modulefiles".
+The default for --with-module-path is "$prefix/share/Modules/modulefiles".
If you have trouble with the configuration, then consider
Run "./configure --help" to view some of the other options.