mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
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)
This commit is contained in:
parent
6eefc70221
commit
ad0afe0769
@ -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
|
||||
|
@ -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 <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user