1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Chase the upgrade of science/cgnslib to 2.5-5; this implies to

switch some dependencies from science/hdf5 to science/hdf5-18.

As a side note: I think that all ports depending on science/hdf5
could be switched to science/hdf5-18, by defining H5_USE_16_API
when necessary, and then science/hdf5 could be deprecated.

PR:		ports/154736
This commit is contained in:
Thierry Thomas 2011-02-26 10:23:19 +00:00
parent eb4c8140ad
commit a75c0a02b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269791
8 changed files with 15 additions and 13 deletions

View File

@ -10,6 +10,7 @@ MASTERDIR= ${.CURDIR}/../salome
PORTNAME= salome
PKGNAMESUFFIX= -kernel
PORTREVISION= 1
SAL_MODULE_UPPER= KERNEL
.include "${MASTERDIR}/Makefile"

View File

@ -10,6 +10,7 @@ MASTERDIR= ${.CURDIR}/../salome
PORTNAME= salome
PKGNAMESUFFIX= -med
PORTREVISION= 1
SAL_MODULE_UPPER= MED
.include "${MASTERDIR}/Makefile"

View File

@ -133,7 +133,7 @@ AUTOMAKE_ARGS=--add-missing --copy --gnu
#Dependency from HDF5
.if !${SAL_MODULE} == "randomizer" && !${SAL_MODULE} == "yacs" && !${SAL_MODULE} == "hello" && !${SAL_MODULE} == "pyhello"
LIB_DEPENDS+= hdf5.0:${PORTSDIR}/science/hdf5
LIB_DEPENDS+= hdf5.6:${PORTSDIR}/science/hdf5-18
CONFIGURE_ARGS+= --with-hdf5=${LOCALBASE}
AUTOTOOLS_ENV+= HDF5HOME=${LOCALBASE}
.endif

View File

@ -7,6 +7,7 @@
PORTNAME= aster
DISTVERSION= ${ASTER_DISTVERSION}
PORTREVISION= 1
CATEGORIES= french cad
MAINTAINER= thierry@FreeBSD.org
@ -38,7 +39,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/aster/ASTK/ASTK_SERV:${PORTSDIR}/cad/astk-serveur \
${PYNUMPY}
LIB_DEPENDS+= tcl${SHORT_TCL_VER}:${PORTSDIR}/lang/tcl${SHORT_TCL_VER} \
tk${SHORT_TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER} \
hdf5.0:${PORTSDIR}/science/hdf5 \
hdf5.6:${PORTSDIR}/science/hdf5-18 \
med.2:${PORTSDIR}/french/med
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Gnuplot:${PORTSDIR}/math/py-gnuplot \
${LOCALBASE}/bin/onmetis.exe:${PORTSDIR}/math/metis-edf \
@ -302,18 +303,18 @@ pre-configure:
>> ${WRKSRC}/setup.cfg
${ECHO_CMD} "F90FLAGS_DBG='-c -g -O ${FLAGARCH} ${FFLAGARCH} -I${LOCALBASE}/include -I${HOME_MPI}/include'" \
>> ${WRKSRC}/setup.cfg
${ECHO_CMD} "CFLAGS='-c ${CFLAGS} -fno-stack-protector ${PTHREAD_CFLAGS} ${FLAGARCH} -I${LOCALBASE}/include -I${HOME_MPI}/include'" \
${ECHO_CMD} "CFLAGS='-c ${CFLAGS} -fno-stack-protector -DH5_USE_16_API ${PTHREAD_CFLAGS} ${FLAGARCH} -I${LOCALBASE}/include -I${HOME_MPI}/include'" \
>> ${WRKSRC}/setup.cfg
${ECHO_CMD} "CFLAGS_DBG='-c -g -O -pipe -fno-stack-protector ${PTHREAD_CFLAGS} ${FLAGARCH} -I${LOCALBASE}/include -I${HOME_MPI}/include'" \
${ECHO_CMD} "CFLAGS_DBG='-c -g -O -pipe -fno-stack-protector -DH5_USE_16_API ${PTHREAD_CFLAGS} ${FLAGARCH} -I${LOCALBASE}/include -I${HOME_MPI}/include'" \
>> ${WRKSRC}/setup.cfg
.else
${ECHO_CMD} "F90FLAGS='-c ${FFLAGS} ${FLAGARCH} ${FFLAGARCH} -I${LOCALBASE}/include'" \
>> ${WRKSRC}/setup.cfg
${ECHO_CMD} "F90FLAGS_DBG='-c -g -O ${FLAGARCH} ${FFLAGARCH} -I${LOCALBASE}/include'" \
>> ${WRKSRC}/setup.cfg
${ECHO_CMD} "CFLAGS='-c ${CFLAGS} -fno-stack-protector ${PTHREAD_CFLAGS} ${FLAGARCH} -I${LOCALBASE}/include'" \
${ECHO_CMD} "CFLAGS='-c ${CFLAGS} -fno-stack-protector -DH5_USE_16_API ${PTHREAD_CFLAGS} ${FLAGARCH} -I${LOCALBASE}/include'" \
>> ${WRKSRC}/setup.cfg
${ECHO_CMD} "CFLAGS_DBG='-c -g -O -pipe -fno-stack-protector ${PTHREAD_CFLAGS} ${FLAGARCH} -I${LOCALBASE}/include'" \
${ECHO_CMD} "CFLAGS_DBG='-c -g -O -pipe -fno-stack-protector -DH5_USE_16_API ${PTHREAD_CFLAGS} ${FLAGARCH} -I${LOCALBASE}/include'" \
>> ${WRKSRC}/setup.cfg
.endif
.for is in ${INTERACTIVE_SCRIPTS}

View File

@ -7,14 +7,14 @@
PORTNAME= med
DISTVERSION= 2.3.6
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= french science
MAINTAINER= ports@FreeBSD.org
COMMENT= Modelisation et Echanges de Donnees
BUILD_DEPENDS= wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER}
LIB_DEPENDS= hdf5.0:${PORTSDIR}/science/hdf5
LIB_DEPENDS= hdf5.6:${PORTSDIR}/science/hdf5-18
RUN_DEPENDS= wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER}
LICENSE= GPLv3

View File

@ -7,7 +7,7 @@
PORTNAME= ecs
PORTVERSION= 1.3.3
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= science
MASTER_SITES= http://rd.edf.com/fichiers/fckeditor/File/EDF%20RD/Code_Saturne/Fichiers/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
@ -18,7 +18,7 @@ COMMENT= Code_Saturne Preprocessor
LIB_DEPENDS= med.2:${PORTSDIR}/french/med \
bft.1:${PORTSDIR}/science/bft \
hdf5.0:${PORTSDIR}/science/hdf5 \
hdf5.6:${PORTSDIR}/science/hdf5-18 \
cgns.0:${PORTSDIR}/science/cgnslib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}

View File

@ -1,3 +1,2 @@
MD5 (ecs-133.tgz) = 0a80c156afb541115855f3aeb9f1d83d
SHA256 (ecs-133.tgz) = 60c3519cc7b9fdd80f41844e3c5a04be88459493e6abd82ed960304822d1bf13
SIZE (ecs-133.tgz) = 1263592

View File

@ -7,7 +7,7 @@
PORTNAME= fvm
PORTVERSION= 0.12.0
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= science parallel
MASTER_SITES= http://rd.edf.com/fichiers/fckeditor/File/EDF%20RD/Code_Saturne/Fichiers/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
@ -18,7 +18,7 @@ COMMENT= Code_Saturne Finite Volume Mesh
LIB_DEPENDS= med.2:${PORTSDIR}/french/med \
bft.1:${PORTSDIR}/science/bft \
hdf5.0:${PORTSDIR}/science/hdf5 \
hdf5.6:${PORTSDIR}/science/hdf5 \
cgns.0:${PORTSDIR}/science/cgnslib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}