diff options
author | thierry <thierry@FreeBSD.org> | 2007-06-18 05:04:54 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2007-06-18 05:04:54 +0800 |
commit | 89d68dcf18dc96251a46b660088aba9ad7bd6ded (patch) | |
tree | a65eee2fdacad780bcb85d290b3faa8e2d01aea0 /science/ecs/files/patch-configure | |
parent | 66f5a5cce0cf0882a29d97cc4ad394fbc29031ce (diff) | |
download | freebsd-ports-gnome-89d68dcf18dc96251a46b660088aba9ad7bd6ded.tar.gz freebsd-ports-gnome-89d68dcf18dc96251a46b660088aba9ad7bd6ded.tar.zst freebsd-ports-gnome-89d68dcf18dc96251a46b660088aba9ad7bd6ded.zip |
Code_Saturne is EDF's general purpose computational fluid dynamics
software. Developed since 1997 at EDF R&D, it is based on a co-located
Finite Volume approach that accepts meshes with any type of
cell (tetrahedral, hexahedral, prismatic, pyramidal, polyhedral, ...)
and any type of grid structure (unstructured, blockstructured, hybrid,
conforming or with hanging nodes, ...).
Its basic capabilities enable the handling of either incompressible or
expandable flows with or without heat transfer and turbulence (mixing
length, 2-equation models, v2f, Reynolds stress models, Large Eddy
Simulations, ...).
<http://rd.edf.com/code_saturne/>
Diffstat (limited to 'science/ecs/files/patch-configure')
-rw-r--r-- | science/ecs/files/patch-configure | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/science/ecs/files/patch-configure b/science/ecs/files/patch-configure new file mode 100644 index 000000000000..974e2cee55de --- /dev/null +++ b/science/ecs/files/patch-configure @@ -0,0 +1,56 @@ +--- configure.orig Thu Feb 15 20:16:38 2007 ++++ configure Mon May 7 11:41:21 2007 +@@ -3771,7 +3771,7 @@ + #------------------------------------------------------------------ + + case "$host_os" in +- linux* | hpux* | irix*) ++ linux* | freebsd* | hpux* | irix*) + CPPFLAGS="${CPPFLAGS} -D_POSIX_SOURCE" + ;; + osf*) +@@ -19595,7 +19595,7 @@ + HDF5_CPPFLAGS="-I$with_hdf5_prefix/include" + HDF5_LDFLAGS="-L$with_hdf5_prefix/lib" + fi +- HDF5_LIBS="-lhdf5" ++ HDF5_LIBS="-lhdf5 $PTHREAD_LIBS" + + CPPFLAGS="${CPPFLAGS} ${HDF5_CPPFLAGS}" + LDFLAGS="${LDFLAGS} ${HDF5_LDFLAGS}" +@@ -19607,7 +19607,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lhdf5 $LIBS" ++LIBS="$HDF5_LIBS $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -19749,7 +19749,7 @@ + elif test "x$with_cgns_prefix" != "x" ; then + CGNS_LDFLAGS="-L$with_cgns_prefix/lib" + fi +- CGNS_LIBS="-lcgns" ++ CGNS_LIBS="-lcgns $HDF5_LIBS" + CPPFLAGS="${CPPFLAGS} ${CGNS_CPPFLAGS}" + LDFLAGS="${LDFLAGS} ${CGNS_LDFLAGS}" + LIBS="${LIBS} ${CGNS_LIBS}" +@@ -19760,7 +19760,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lcgns $LIBS" ++LIBS="$CGNS_LIBS $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -20749,6 +20749,8 @@ + fi + fi; + MED_LIBS="-lmedC -lpthread";; ++ freebsd*) ++ MED_ARCH_NAME=FREEBSD;; + osf*) + if test "x$ints_are_64bit" != "xyes" ; then + MED_ARCH_NAME=OSF1_32 |