#########################################################
if ( $is_configure == 1 || $mkfile_exist == 0) then
echo "------- Configure ---------------"
- if ( "${module}" == "NETGENPLUGIN" && ($?NETGEN_DIR) ) then
- set add_keys="--with-netgen=${NETGEN_DIR}"
+ if ( "${module}" == "NETGENPLUGIN" && ($?NETGENHOME) ) then
+ set add_keys="--with-netgen=${NETGENHOME}"
endif
${module_src}/configure --prefix=$px ${optim} ${add_keys} >& ${LOG_DIR}/configure_${module}.log
#########################################################
{
cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
#$DELIM ${PRODUCT_TYPE} $DELIM
-export NETGENROOT=\${INSTALL_ROOT}/${PRODUCT}
+export NETGENHOME=\${INSTALL_ROOT}/${PRODUCT}
##
EOF
(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
if [ $? -eq 0 ] ; then
cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
#$DELIM ${PRODUCT_TYPE} $DELIM
-export NETGENROOT=\${NETGENROOT}
+export NETGENHOME=\${NETGENROOT}
##
EOF
make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"