science/mpb: put option helpers at the correct place
Submitted by: antoine via #bsdports
This commit is contained in:
parent
88cd723740
commit
ffb4e0d1a0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376235
1 changed files with 2 additions and 2 deletions
|
@ -28,6 +28,8 @@ MAKE_JOBS_UNSAFE= yes
|
|||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
NLOPT_LIB_DEPENDS= libnlopt.so:${PORTSDIR}/math/nlopt
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MATLAS}
|
||||
|
@ -39,8 +41,6 @@ LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas \
|
|||
CONFIGURE_ARGS+= --with-lapack=-llapack
|
||||
.endif
|
||||
|
||||
NLOPT_LIB_DEPENDS= libnlopt.so:${PORTSDIR}/math/nlopt
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lhdf5 |-lhdf5 ${PTHREAD_LIBS} |g' \
|
||||
${WRKSRC}/configure
|
||||
|
|
Loading…
Reference in a new issue