LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File openfoam-config-boost.patch of Package openfoam22x (Project home:dkxls:cfd)

diff --git a/etc/config/settings.sh b/etc/config/settings.sh
index 5a77479..1e3938d 100644
--- a/etc/config/settings.sh
+++ b/etc/config/settings.sh
@@ -359,37 +359,7 @@ then
 fi


-# boost and CGAL
-# ~~~~~~~~~~~~~~
-
-boost_version=boost_1_45_0
-cgal_version=CGAL-4.0
-
-export BOOST_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$boost_version
-export CGAL_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$cgal_version
-
-# enabled if CGAL is available
-if [ "$FOAM_VERBOSE" -a "$PS1" ]
-then
-    echo "Checking for"
-    echo "    $cgal_version at $CGAL_ARCH_PATH"
-    echo "    $boost_version at $BOOST_ARCH_PATH"
-fi
-
-if [ -d "$CGAL_ARCH_PATH" ]
-then
-    if [ -d "$BOOST_ARCH_PATH" ]
-    then
-        _foamAddLib $BOOST_ARCH_PATH/lib
-    else
-        unset BOOST_ARCH_PATH
-    fi
-    _foamAddLib $CGAL_ARCH_PATH/lib
-else
-    unset BOOST_ARCH_PATH CGAL_ARCH_PATH MPFR_ARCH_PATH GMP_ARCH_PATH
-fi
-
-unset boost_version cgal_version
+export BOOST_ARCH_PATH=/usr
 
 
 # Communications library