aboutsummaryrefslogtreecommitdiffstats
path: root/science/mpb
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2015-01-04 22:02:35 +0800
committerrene <rene@FreeBSD.org>2015-01-04 22:02:35 +0800
commit520e0827e3c4e813ee94901078f4518c0cd33078 (patch)
treea65714faed135312c5bdbc314fa230ef3e986fdc /science/mpb
parenta76f7129801a38fda53ba85d3841e098b5e5407f (diff)
downloadfreebsd-ports-gnome-520e0827e3c4e813ee94901078f4518c0cd33078.tar.gz
freebsd-ports-gnome-520e0827e3c4e813ee94901078f4518c0cd33078.tar.zst
freebsd-ports-gnome-520e0827e3c4e813ee94901078f4518c0cd33078.zip
science/mpb: put option helpers at the correct place
Submitted by: antoine via #bsdports
Diffstat (limited to 'science/mpb')
-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