summaryrefslogtreecommitdiff
path: root/net/openmpi-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/openmpi-devel/Makefile')
-rw-r--r--net/openmpi-devel/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openmpi-devel/Makefile b/net/openmpi-devel/Makefile
index 0a9961db0b9e..337588158e82 100644
--- a/net/openmpi-devel/Makefile
+++ b/net/openmpi-devel/Makefile
@@ -18,8 +18,7 @@ CONFLICTS= openmpi-1.6.*
USE_BZIP2= yes
HAS_CONFIGURE= yes
-USES= gmake pkgconfig
-USE_FORTRAN= yes
+USES= fortran gmake pkgconfig
MPIBASE?= mpi
MPIDIR?= ${MPIBASE}/${UNIQUENAME}${PKGNAMESUFFIX}
@@ -32,6 +31,7 @@ CONFIGURE_ARGS+= --prefix=${PREFIX}/${MPIDIR} \
--program-prefix= \
--with-hwloc=${LOCALBASE} \
--with-libltdl=${LOCALBASE}
+LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= ${PREFIX}/${MPIDIR}/lib \
${PREFIX}/${MPIDIR}/lib/openmpi