mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-11-26 06:47:54 +01:00
derive PMODULES_ROOT from PMODULES_HOME
This commit is contained in:
1 parent
1edda11174
commit
0b43ed2280
14 files changed
+204
-287
No files matched your search
+2
-2
@@ -5,7 +5,7 @@ declare -rx CC=gcc
|
||||
|
||||
pbuild::set_download_url "https://amas.web.psi.ch/Downloads/$P/$P-$V.tar.bz2"
|
||||
|
||||
TCL_DIR="${PMODULES_ROOT}/Tools/Pmodules/${PMODULES_VERSION}"
|
||||
TCL_DIR="${PMODULES_HOME}"
|
||||
|
||||
PATH="${TCL_DIR}/bin:${PATH}"
|
||||
|
||||
@@ -21,7 +21,7 @@ pbuild::configure() {
|
||||
CPPFLAGS="-DUSE_INTERP_ERRORLINE" "${SRC_DIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--exec-prefix="${PREFIX}" \
|
||||
--with-module-path="${PMODULES_ROOT}/Tools/${PMODULES_MODULEFILES_DIR}" \
|
||||
--with-module-path="${PMODULES_HOME%%/Tools*}/Tools/${PMODULES_MODULEFILES_DIR}" \
|
||||
--with-tcl="${TCL_DIR}/lib" \
|
||||
--without-x \
|
||||
--disable-versioning \
|
||||
|
||||
Reference in new issue
Block a user