aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2021-03-11 20:10:10 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2021-03-11 20:10:10 +0000
commita3d941d14c28862e9b9dacbd0444754a58601a22 (patch)
treeb7106fdb2bd865507e87bf42a1cc4ea39ddf4315 /benchmarks
parentfee67f3381254ef02d7bccad7d3ddad09d7faeea (diff)
downloadports-a3d941d14c28862e9b9dacbd0444754a58601a22.tar.gz
ports-a3d941d14c28862e9b9dacbd0444754a58601a22.zip
Hook distro cleanup on pre-build to ensure gmake availabilty
Reported by: Giacomo Olgeni
Notes
Notes: svn path=/head/; revision=568130
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/iozone/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index ae566bbd4004..0e37b6d8838f 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -31,13 +31,13 @@ THREADS_DESC= Enable threading (uses pthreads)
THREADS_LDFLAGS= -lpthread
THREADS_CFLAGS_OFF= -DNO_THREADS
-post-extract:
- @cd ${WRKSRC} && ${GMAKE} clean
-
post-patch-SSH-on:
@${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' \
${WRKSRC}/iozone.c
+pre-build:
+ @cd ${WRKSRC} && ${GMAKE} clean
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 \