aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2010-11-14 22:00:17 +0000
committerThierry Thomas <thierry@FreeBSD.org>2010-11-14 22:00:17 +0000
commit9057d8b613a28938f843b07ce1ecc519556ce99f (patch)
tree0edde2395c054e3486352a34086bf4865477fcae
parentf9b73ccd0b444aef43d78ff6b192755f2e1631ba (diff)
downloadports-9057d8b613a28938f843b07ce1ecc519556ce99f.tar.gz
ports-9057d8b613a28938f843b07ce1ecc519556ce99f.zip
Notes
-rw-r--r--benchmarks/hpl/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/benchmarks/hpl/Makefile b/benchmarks/hpl/Makefile
index 14d95dbfbe74..58136cffd07f 100644
--- a/benchmarks/hpl/Makefile
+++ b/benchmarks/hpl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= hpl
PORTVERSION= 2.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= benchmarks
MASTER_SITES= http://www.netlib.org/benchmark/hpl/
@@ -15,8 +15,7 @@ MAINTAINER= oliver@FreeBSD.org
COMMENT= High Performance Computing Linpack Benchmark
.if !defined(WITH_LAM)
-BUILD_DEPENDS= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
-RUN_DEPENDS= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
+LIB_DEPENDS= mpich.2:${PORTSDIR}/net/mpich2
.else
BUILD_DEPENDS= ${LOCALBASE}/bin/lamd:${PORTSDIR}/net/lam
RUN_DEPENDS= ${LOCALBASE}/bin/lamd:${PORTSDIR}/net/lam
@@ -83,7 +82,7 @@ post-patch:
s|^LINKER[ ]*=.*$$|LINKER = ${FC}| ; \
s|^ARCHIVER[ ]*=.*$$|ARCHIVER = ${AR}| ; \
s|ARCH[ )]|_&|g ; \
- s|libpmpich|libmpich|g' \
+ s|libpmpich.a|libmpl.a ${PTHREAD_LIBS}|' \
${WRKSRC}/setup/Make.${HPL_ARCH}
.if defined(WITH_LAM)