git: c02edab71ed0 - main - benchmarks/stress-ng: disable crypt.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Jan 2024 22:50:30 UTC
The branch main has been updated by pizzamig:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c02edab71ed071ced61003291219f9e22c0dca8f
commit c02edab71ed071ced61003291219f9e22c0dca8f
Author: Luca Pizzamiglio <pizzamig@FreeBSD.org>
AuthorDate: 2024-01-01 22:49:21 +0000
Commit: Luca Pizzamiglio <pizzamig@FreeBSD.org>
CommitDate: 2024-01-01 22:49:21 +0000
benchmarks/stress-ng: disable crypt.h
In case it's detected, it causes a conflict with a struct
defined in unistd.h
PR: 275958
Reported by: John Hein <jcfyecrayz@liamekaens.com>
---
benchmarks/stress-ng/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/benchmarks/stress-ng/Makefile b/benchmarks/stress-ng/Makefile
index 94008d6a5884..c6489a6f7e84 100644
--- a/benchmarks/stress-ng/Makefile
+++ b/benchmarks/stress-ng/Makefile
@@ -1,6 +1,7 @@
PORTNAME= stress-ng
DISTVERSIONPREFIX= V
DISTVERSION= 0.17.03
+PORTREVISION= 1
CATEGORIES= benchmarks
MAINTAINER= pizzamig@FreeBSD.org
@@ -53,6 +54,7 @@ USE_GL= egl glesv2 gbm
pre-patch:
${MKDIR} ${WRKSRC}/configs
+ ${TOUCH} ${WRKSRC}/configs/HAVE_CRYPT_H
.if ${ARCH} == i386
${TOUCH} ${WRKSRC}/configs/HAVE_VECMATH
.endif
@@ -86,6 +88,9 @@ post-patch-GPU-off:
${TOUCH} ${WRKSRC}/configs/HAVE_LIB_GBM
${TOUCH} ${WRKSRC}/configs/HAVE_GBM_H
+do-configure:
+ cd ${WRKSRC} && ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} ${_MAKE_JOBS} config
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/stress-ng ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/stress-ng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1