aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/himenobench
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-03-08 01:08:13 +0800
committermiwi <miwi@FreeBSD.org>2013-03-08 01:08:13 +0800
commit583ca691561b7694385a3609d9a75852ef88609f (patch)
tree311f7af88a51fde8c812bf534446ae4d53b06dd2 /benchmarks/himenobench
parent01586cc2cd8a893e9fb607884b766059ae2a287d (diff)
downloadfreebsd-ports-gnome-583ca691561b7694385a3609d9a75852ef88609f.tar.gz
freebsd-ports-gnome-583ca691561b7694385a3609d9a75852ef88609f.tar.zst
freebsd-ports-gnome-583ca691561b7694385a3609d9a75852ef88609f.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]
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