View | Details | Raw Unified | Return to bug 189092
Collapse All | Expand All

(-)/usr/wip/science/fvcom-openmpi/Makefile (-3 / +6 lines)
Lines 1-8 Link Here
1
# Created by: Jason Bacon <jwbacon@tds.net>
1
# Created by: Jason Bacon <jwbacon@tds.net>
2
# $FreeBSD: head/science/fvcom-mpi/Makefile 351165 2014-04-13 00:17:45Z danilo $
2
# $FreeBSD: head/science/fvcom-mpi/Makefile 351165 2014-04-13 00:17:45Z danilo $
3
3
4
PORTREVISION=	2
4
PKGNAMESUFFIX=	-openmpi
5
PKGNAMESUFFIX=	-mpi
5
6
# Would be nice to get this from Mk
7
# Include trailing / so that it can be used as ${MPIPREFIX}bin, etc.
8
MPIPREFIX=	mpi/openmpi/
6
9
7
MAINTAINER=	jwbacon@tds.net
10
MAINTAINER=	jwbacon@tds.net
8
11
Lines 10-16 Link Here
10
13
11
MASTERDIR=	${.CURDIR}/../fvcom
14
MASTERDIR=	${.CURDIR}/../fvcom
12
15
13
MAKE_ARGS+=	FC=${LOCALBASE}/mpi/openmpi/bin/mpif90 \
16
MAKE_ARGS+=	FC=${LOCALBASE}/${MPIPREFIX}bin/mpif90 \
14
		PORT_CPP_FLAGS+=-DMULTIPROCESSOR
17
		PORT_CPP_FLAGS+=-DMULTIPROCESSOR
15
18
16
.include "${MASTERDIR}/Makefile"
19
.include "${MASTERDIR}/Makefile"

Return to bug 189092