Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2021 20:10:10 +0000 (UTC)
From:      Alexander Nedotsukov <bland@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r568130 - head/benchmarks/iozone
Message-ID:  <202103112010.12BKAAvQ099919@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bland
Date: Thu Mar 11 20:10:10 2021
New Revision: 568130
URL: https://svnweb.freebsd.org/changeset/ports/568130

Log:
  Hook distro cleanup on pre-build to ensure gmake availabilty
  
  Reported by:	Giacomo Olgeni

Modified:
  head/benchmarks/iozone/Makefile

Modified: head/benchmarks/iozone/Makefile
==============================================================================
--- head/benchmarks/iozone/Makefile	Thu Mar 11 19:59:43 2021	(r568129)
+++ head/benchmarks/iozone/Makefile	Thu Mar 11 20:10:10 2021	(r568130)
@@ -31,12 +31,12 @@ 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103112010.12BKAAvQ099919>