From 0f92912af4e1779abb0b9026feef250d3d904da1 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 7 Mar 2013 17:08:13 +0000 Subject: - 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 [1] Gerald Pfeifer [2] --- benchmarks/himenobench/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'benchmarks/himenobench') 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 -- cgit v1.2.3