From ad0afe0769e845486e267fdb5d21fccf23535215 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Fri, 30 Dec 2022 12:58:06 -0600 Subject: science/*: Fix USES=octave for some ports In my previous commits of USES=octave conversion I missed two ports in science category. Fix those to use USES=octave:env. Approved by: portmgr (blanket infrastructure) --- science/cantera/Makefile | 2 +- science/h5utils/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'science') diff --git a/science/cantera/Makefile b/science/cantera/Makefile index 97f903f18e9b..26c37e182566 100644 --- a/science/cantera/Makefile +++ b/science/cantera/Makefile @@ -47,7 +47,7 @@ OCTAVE_MAKE_ARGS= matlab_toolbox=y matlab_path=${LOCALBASE} OCTAVE_CXXFLAGS= -I${LOCALBASE}/include/octave-${OCTAVE_VERSION}/octave OCTAVE_LIB_DEPENDS= liboctave.so:math/octave OCTAVE_SUB_FILES= pkg-message-octave -.include "../../math/octave/Makefile.version" # for OCTAVE_VERSION +OCTAVE_USES= octave:env PYTHON_USES= python:3.6+ PYTHON_USE= PYTHON=cython diff --git a/science/h5utils/Makefile b/science/h5utils/Makefile index a32d97be6151..f16be1fa8a85 100644 --- a/science/h5utils/Makefile +++ b/science/h5utils/Makefile @@ -30,10 +30,10 @@ OPTIONS_SUB= yes OCTAVE_DESC= With Octave support OCTAVE_CONFIGURE_WITH= octave OCTAVE_BUILD_DEPENDS= ${LOCALBASE}/include/octave-${OCTAVE_VERSION}/octave/octave.h:math/octave +OCTAVE_USES= octave:env OCTAVE_VARS= PLIST_SUB+="OCTAVE_VERSION=${OCTAVE_VERSION} CONFIGURE_TARGET=${CONFIGURE_TARGET}" post-install-OCTAVE-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/octave/${OCTAVE_VERSION}/site/oct/${CONFIGURE_TARGET}/h5read.oct -.include "../../math/octave/Makefile.version" .include -- cgit v1.2.3