]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix a problem with NETGENPLUGIN compilation - incorrect netgen product configuration
authorvsr <vsr@opencascade.com>
Mon, 7 Feb 2005 07:02:23 +0000 (07:02 +0000)
committervsr <vsr@opencascade.com>
Mon, 7 Feb 2005 07:02:23 +0000 (07:02 +0000)
config_files/build.csh
config_files/netgen4.3.sh

index bf67104de70c62e411837c5797bdc6d2ba25dc9d..57a37f7fcd894c51b423427f5684f67c5af9da6f 100755 (executable)
@@ -251,8 +251,8 @@ foreach module (${modules})
     #########################################################
     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
        #########################################################
index 1fcb00b4004e90963a617348f36b4543b8aed1f1..9387512f02fb574321e80656c2574bfc5282f130 100755 (executable)
@@ -14,7 +14,7 @@ print_env()
 {
 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})
@@ -27,7 +27,7 @@ check_version
 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}"