mirror of
https://github.com/envmodules/modules.git
synced 2026-06-10 00:56:30 +08:00
27 lines
837 B
Plaintext
27 lines
837 B
Plaintext
#%Module######################################################################
|
|
##
|
|
## Languages Module
|
|
##
|
|
proc ModulesHelp { } {
|
|
puts stderr "\tThe Compilers Module\n"
|
|
puts stderr "\tThis module loads PATHs and variables for accessing compilers and other tools."
|
|
}
|
|
|
|
if { [file isdirectory /opt/SUNWspro] } {
|
|
append-path PATH /opt/SUNWspro/bin
|
|
append-path MANPATH /opt/SUNWspro/man
|
|
}
|
|
|
|
if { [file isdirectory /opt/SUNWguide] } {
|
|
append-path PATH /opt/SUNWguide/bin
|
|
append-path MANPATH /opt/SUNWguide/man
|
|
}
|
|
|
|
# /usr/local/lib is in the default library search path
|
|
# for most machines, but not all. This forces all platforms
|
|
# to look in this location for libraries
|
|
|
|
if { [file isdirectory /opt/local/lib] } {
|
|
append-path LD_LIBRARY_PATH /usr/local/lib
|
|
}
|