aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/himenobench
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-07 17:08:13 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-07 17:08:13 +0000
commit0f92912af4e1779abb0b9026feef250d3d904da1 (patch)
tree311f7af88a51fde8c812bf534446ae4d53b06dd2 /benchmarks/himenobench
parentb7df0651651ef059fd4db24d7b77113e72ad6c15 (diff)
downloadports-0f92912af4e1779abb0b9026feef250d3d904da1.tar.gz
ports-0f92912af4e1779abb0b9026feef250d3d904da1.zip
- Add new knob USE_LHA [1]
- Convert few ports to USE_LHA [1] - Revert r303619 since CONFIGURE_ENV already sets CPPFLAGS and LDFLAGS by default. [2] PR: 176187 [1] 174790 [2] Submitted by: Christoph Mallon <christoph.mallon@gmx.de> [1] Gerald Pfeifer <gerald@pfeifer.com> [2]
Notes
Notes: svn path=/head/; revision=313600
Diffstat (limited to 'benchmarks/himenobench')
-rw-r--r--benchmarks/himenobench/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/benchmarks/himenobench/Makefile b/benchmarks/himenobench/Makefile
index 290b4ef72879..1770e8639a6d 100644
--- a/benchmarks/himenobench/Makefile
+++ b/benchmarks/himenobench/Makefile
@@ -18,10 +18,12 @@ DIST_SUBDIR= himeno
MAINTAINER= maho@FreeBSD.org
COMMENT= Himeno bench benchmark, solves Poisson eq. with Jacobi's method
+NO_WRKSRCDIR= yes
+USE_LHA= yes
+
.if defined(WITH_ICC)
BUILD_DEPENDS= ${LOCALBASE}/intel_cc_80/bin/icc:${PORTSDIR}/lang/icc
.endif
-EXTRACT_DEPENDS= lha:${PORTSDIR}/archivers/lha
USE_FORTRAN= yes
.if defined(WITH_IFC)
@@ -56,11 +58,6 @@ PLIST_SUB+= WITH_GFORTRAN="@comment "
PLIST_SUB+= WITH_GFORTRAN=""
.endif
-do-extract:
- @${MKDIR} ${WRKSRC}
- @for i in ${DISTFILES}; do \
- cd ${WRKSRC} ; lha xf ${DISTDIR}/${DIST_SUBDIR}/$$i; \
- done
do-build:
.if ${USE_FORTRAN} == yes
cd ${WRKSRC} ; ${FC} ${FFLAGS} -o himenobmtxp himenobmtxp.f90