summaryrefslogtreecommitdiff
path: root/net/openmpi-devel/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-02-16 17:15:31 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-02-16 17:15:31 +0000
commit564a799c7173c288d4d3a9be78ac3d2db983d512 (patch)
tree49e521faa408bc4bd163bfb0febf91e262772c1c /net/openmpi-devel/Makefile
parent- Remove MASTERDIR (diff)
Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most cases
USE_GCC=yes has been omitted though. Remove USE_FORTRAN handling from bsd.port.mk and bsd.gcc.mk. Minor cleanups in some ports like USE_GMAKE, NOPORTDOCS,... Exp-run: bdrewery Approved by: portmgr (bdrewery)
Notes
Notes: svn path=/head/; revision=344614
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