mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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>
This commit is contained in:
parent
beaad09b1d
commit
c02edab71e
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
PORTNAME= stress-ng
|
PORTNAME= stress-ng
|
||||||
DISTVERSIONPREFIX= V
|
DISTVERSIONPREFIX= V
|
||||||
DISTVERSION= 0.17.03
|
DISTVERSION= 0.17.03
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= benchmarks
|
CATEGORIES= benchmarks
|
||||||
|
|
||||||
MAINTAINER= pizzamig@FreeBSD.org
|
MAINTAINER= pizzamig@FreeBSD.org
|
||||||
|
@ -53,6 +54,7 @@ USE_GL= egl glesv2 gbm
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
${MKDIR} ${WRKSRC}/configs
|
${MKDIR} ${WRKSRC}/configs
|
||||||
|
${TOUCH} ${WRKSRC}/configs/HAVE_CRYPT_H
|
||||||
.if ${ARCH} == i386
|
.if ${ARCH} == i386
|
||||||
${TOUCH} ${WRKSRC}/configs/HAVE_VECMATH
|
${TOUCH} ${WRKSRC}/configs/HAVE_VECMATH
|
||||||
.endif
|
.endif
|
||||||
|
@ -86,6 +88,9 @@ post-patch-GPU-off:
|
||||||
${TOUCH} ${WRKSRC}/configs/HAVE_LIB_GBM
|
${TOUCH} ${WRKSRC}/configs/HAVE_LIB_GBM
|
||||||
${TOUCH} ${WRKSRC}/configs/HAVE_GBM_H
|
${TOUCH} ${WRKSRC}/configs/HAVE_GBM_H
|
||||||
|
|
||||||
|
do-configure:
|
||||||
|
cd ${WRKSRC} && ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} ${_MAKE_JOBS} config
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/stress-ng ${STAGEDIR}${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/stress-ng ${STAGEDIR}${PREFIX}/bin
|
||||||
${INSTALL_MAN} ${WRKSRC}/stress-ng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
${INSTALL_MAN} ${WRKSRC}/stress-ng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||||
|
|
Loading…
Add table
Reference in a new issue