aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2015-01-04 14:02:35 +0000
committerRene Ladan <rene@FreeBSD.org>2015-01-04 14:02:35 +0000
commitffb4e0d1a0bd8c370121f6ac6cccc8701e07248a (patch)
treea65714faed135312c5bdbc314fa230ef3e986fdc /science
parent88cd723740b32db00e9ab0cbc8cc4513948377b0 (diff)
downloadports-ffb4e0d1a0bd8c370121f6ac6cccc8701e07248a.tar.gz
ports-ffb4e0d1a0bd8c370121f6ac6cccc8701e07248a.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/mpb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/science/mpb/Makefile b/science/mpb/Makefile
index 32276104ea7c..f388af829acc 100644
--- a/science/mpb/Makefile
+++ b/science/mpb/Makefile
@@ -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