aboutsummaryrefslogtreecommitdiff
path: root/cad/salome-kernel/files/patch-KERNEL-salome_adm_check_cas.m4
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-12 22:14:42 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-12 22:14:42 +0000
commit3314f8c47a9e8c2729fee429ff752084369f04d0 (patch)
treeea1cd2309b413f2118de39523d8212ba853982ef /cad/salome-kernel/files/patch-KERNEL-salome_adm_check_cas.m4
parent667bb62ff254f53aef7951e69bf45c5b7e6fe580 (diff)
downloadports-3314f8c47a9e8c2729fee429ff752084369f04d0.tar.gz
ports-3314f8c47a9e8c2729fee429ff752084369f04d0.zip
SALOME is a free software that provides a generic platform for Pre
and Post-Processing for numerical simulation. +Supports interoperability between CAD modeling and computation software (CAD-CAE link) +Makes easier the integration of new components on heterogeneous systems for numerical computation +Sets the priority to multi-physics coupling between computation software +Provides a generic user interface, user-friendly and efficient, which helps to reduce the costs and delays of carrying out the studies +Reduces training time to the specific time for learning the software solution which has been based on this platform +All functionalities are accessible through the programmatic integrated Python console This package contains KERNEL module. WWW: http://www.salome-platform.org - Stas Timokhin devel@stasyan.com PR: ports/143469 Submitted by: Stas Timokhin <devel at stasyan.com>
Notes
Notes: svn path=/head/; revision=249726
Diffstat (limited to 'cad/salome-kernel/files/patch-KERNEL-salome_adm_check_cas.m4')
-rw-r--r--cad/salome-kernel/files/patch-KERNEL-salome_adm_check_cas.m432
1 files changed, 32 insertions, 0 deletions
diff --git a/cad/salome-kernel/files/patch-KERNEL-salome_adm_check_cas.m4 b/cad/salome-kernel/files/patch-KERNEL-salome_adm_check_cas.m4
new file mode 100644
index 000000000000..00f2953b8801
--- /dev/null
+++ b/cad/salome-kernel/files/patch-KERNEL-salome_adm_check_cas.m4
@@ -0,0 +1,32 @@
+--- salome_adm/unix/config_files/check_cas.m4.orig 2009-10-31 20:35:10.000000000 +0600
++++ salome_adm/unix/config_files/check_cas.m4 2009-10-31 20:37:39.000000000 +0600
+@@ -54,7 +54,7 @@
+ casdir=Linux
+ ;;
+ freebsd*)
+- casdir=Linux
++ casdir=FreeBSD
+ ;;
+ irix5.*)
+ casdir=Linux
+@@ -153,6 +153,20 @@
+ esac
+ CAS_CPPFLAGS="$CAS_CPPFLAGS -I$CASROOT/inc"
+ ;;
++ freebsd*)
++ CAS_CPPFLAGS="-DOCC_VERSION_MAJOR=$OCC_VERSION_MAJOR -DOCC_VERSION_MINOR=$OCC_VERSION_MINOR -DOCC_VERSION_MAINTENANCE=$OCC_VERSION_MAINTENANCE -DCSFDB -DNo_exception -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DHAVE_WOK_CONFIG_H -I$CASROOT/inc"
++
++ OCC_VERSION_STRING="$OCC_VERSION_MAJOR.$OCC_VERSION_MINOR.$OCC_VERSION_MAINTENANCE"
++ case $OCC_VERSION_STRING in
++ [[0-5]].* | 6.0.* | 6.1.0) # catch versions < 6.1.1
++ CAS_CPPFLAGS="$CAS_CPPFLAGS -DNO_CXX_EXCEPTION"
++ ;;
++ *)
++ CAS_CPPFLAGS="$CAS_CPPFLAGS -DOCC_CONVERT_SIGNALS"
++ ;;
++ esac
++ CAS_CPPFLAGS="$CAS_CPPFLAGS -I$CASROOT/inc"
++ ;;
+ osf*)
+ CAS_CPPFLAGS="-DOCC_VERSION_MAJOR=$OCC_VERSION_MAJOR -DOCC_VERSION_MINOR=$OCC_VERSION_MINOR -DOCC_VERSION_MAINTENANCE=$OCC_VERSION_MAINTENANCE -DLIN -DLINTEL -DCSFDB -DNo_exception -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DHAVE_WOK_CONFIG_H -I$CASROOT/inc"
+ ;;