aboutsummaryrefslogtreecommitdiff
path: root/devel/valgrind-snapshot
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-06-14 14:34:15 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-06-14 14:34:15 +0000
commit0f033fa3f683d85755dbab1b4ce42903667cee28 (patch)
tree280dbf5f893bcb8c93a1ba160d8b69b9a834b216 /devel/valgrind-snapshot
parentb962befb99fc16c29fb4c3835f9572d9ef04cd41 (diff)
Notes
Diffstat (limited to 'devel/valgrind-snapshot')
-rw-r--r--devel/valgrind-snapshot/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/devel/valgrind-snapshot/Makefile b/devel/valgrind-snapshot/Makefile
index 6a986a51a005..96ac696ebaa6 100644
--- a/devel/valgrind-snapshot/Makefile
+++ b/devel/valgrind-snapshot/Makefile
@@ -30,6 +30,9 @@ MAN1= callgrind_control.1 \
OPTIONS_DEFINE= MPI
MPI_DESC= Enable build of MPI wrappers
+MPI_LIB_DEPENDS= mpich:${PORTSDIR}/net/mpich2
+
+OPTIONS_SUB= yes
USE_BZIP2= yes
USE_GMAKE= yes
USES= pathfix pkgconfig
@@ -43,15 +46,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MMPI}
-LIB_DEPENDS+= mpich:${PORTSDIR}/net/mpich2
-PLIST_SUB+= MPI=""
-.else
-PLIST_SUB+= MPI="@comment "
-.endif
-
-.include <bsd.port.pre.mk>
-
.if ${ARCH} == "amd64"
PLIST_SUB+= AMD64="" ARCH=amd64
. if !exists(/usr/lib32/libc.so)
@@ -70,4 +64,4 @@ post-patch:
@${RM} -rf ${WRKSRC}/docs/html
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>