summaryrefslogtreecommitdiff
path: root/french/aster/Makefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2022-09-16 13:01:42 +0200
committerThierry Thomas <thierry@FreeBSD.org>2022-09-16 13:07:05 +0200
commit35fb1d00124f54c95c798525f67fcd8877c136b0 (patch)
tree4f45bdecf5c855970355e170d559b035a86638e1 /french/aster/Makefile
parentsecurity/ca_root_nss: Update to 3.83 (diff)
french/aster: switch to HDF5-1.10
Note: this port should be upgraded to a newer release, WIP. PR: 265152
Diffstat (limited to 'french/aster/Makefile')
-rw-r--r--french/aster/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/french/aster/Makefile b/french/aster/Makefile
index e39c63462a75..b7116ce818ea 100644
--- a/french/aster/Makefile
+++ b/french/aster/Makefile
@@ -1,6 +1,6 @@
PORTNAME= aster
DISTVERSION= ${ASTER_DISTVERSION}
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= french cad
MAINTAINER= thierry@FreeBSD.org
@@ -34,7 +34,7 @@ BUILD_DEPENDS+= astk-serveur>0:cad/astk-serveur \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR}
# pylupdate5:textproc/py-qt5-xml
-LIB_DEPENDS+= libhdf5.so:science/hdf5 \
+LIB_DEPENDS+= libhdf5-110.so:science/hdf5-110 \
libscotch.so:cad/scotch \
libmetis.so:math/metis \
libmed.so:french/med \
@@ -52,6 +52,7 @@ USE_QT= linguisttools:build
#CONFLICTS_BUILD=${PYTHON_PKGNAMEPREFIX}cysignals-1.*
HAS_CONFIGURE= yes
+CFLAGS+= -I${LOCALBASE}/include/hdf5-110
MAKE_ENV= INCLUDES="${LOCALBASE}/include" \
INCLUDEDIR="${LOCALBASE}/include" \
LD_PRELOAD="${LOCALBASE}/lib/gcc${_GCC_VER}/libgcc_s.so.1" \
@@ -255,7 +256,7 @@ pre-configure:
${ECHO_CMD} "HOME_GMSH = '${LOCALBASE}'" >> ${WRKSRC}/setup.cfg
${ECHO_CMD} "HOME_GIBI = '${LOCALBASE}'" >> ${WRKSRC}/setup.cfg
${ECHO_CMD} "HOME_HOMARD = '${LOCALBASE}'" >> ${WRKSRC}/setup.cfg
- ${ECHO_CMD} "INCLUDEDIR = ['${LOCALBASE}/include', '${LOCALBASE}/include/metis', ]"\
+ ${ECHO_CMD} "INCLUDEDIR = ['${LOCALBASE}/include/hdf5-110', '${LOCALBASE}/include', '${LOCALBASE}/include/metis', ]"\
>> ${WRKSRC}/setup.cfg
${ECHO_CMD} "HOME_MUMPS = '${LOCALBASE}'" >> ${WRKSRC}/setup.cfg
${ECHO_CMD} "HOME_MFRONT = '${LOCALBASE}'" >> ${WRKSRC}/setup.cfg