summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2015-01-04 14:02:35 +0000
committerrene <rene@FreeBSD.org>2015-01-04 14:02:35 +0000
commit520e0827e3c4e813ee94901078f4518c0cd33078 (patch)
treea65714faed135312c5bdbc314fa230ef3e986fdc
parenta76f7129801a38fda53ba85d3841e098b5e5407f (diff)
downloadFreeBSD-ports-520e0827e3c4e813ee94901078f4518c0cd33078.zip
FreeBSD-ports-520e0827e3c4e813ee94901078f4518c0cd33078.tar.gz
science/mpb: put option helpers at the correct place
Submitted by: antoine via #bsdports
-rw-r--r--science/mpb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/science/mpb/Makefile b/science/mpb/Makefile
index 3227610..f388af8 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
OpenPOWER on IntegriCloud