svn commit: r568130 - head/benchmarks/iozone

Alexander Nedotsukov bland at FreeBSD.org
Thu Mar 11 20:10:11 UTC 2021


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


More information about the svn-ports-head mailing list