git: 813409127c0d - main - benchmarks/phoronix-test-suite: use SHEBANG_GLOB instead of SHEBANG_FILES incomplete list (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jul 2023 19:01:57 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=813409127c0d8671332b389ce5bfc095caca46e7
commit 813409127c0d8671332b389ce5bfc095caca46e7
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-07-25 18:58:10 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-07-25 18:58:10 +0000
benchmarks/phoronix-test-suite: use SHEBANG_GLOB instead of SHEBANG_FILES incomplete list (+)
Pet stage-qa by switch to SHEBANG_GLOB= *.sh
This eliminate a bunch of 'Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for...'
Reported by: poudriere bulk -t
Approved by: portmgr blanket
Sponsored by: Serenity Cybersecurity, LLC
---
benchmarks/phoronix-test-suite/Makefile | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/benchmarks/phoronix-test-suite/Makefile b/benchmarks/phoronix-test-suite/Makefile
index 63d07224ef1f..be1f0aaaf7fc 100644
--- a/benchmarks/phoronix-test-suite/Makefile
+++ b/benchmarks/phoronix-test-suite/Makefile
@@ -1,6 +1,7 @@
PORTNAME= phoronix-test-suite
DISTVERSIONPREFIX= v
DISTVERSION= 10.8.4
+PORTREVISION= 1
CATEGORIES= benchmarks
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
@@ -12,7 +13,7 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= sudo:security/sudo \
- bash:shells/bash
+ bash:shells/bash
USES= php:cli,build,flavors python shebangfix
USE_GITHUB= yes
@@ -23,18 +24,8 @@ PORTDATA= *
PORTDOCS= *
NO_ARCH= yes
-SHEBANG_FILES= ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/install.sh \
- ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/interim.sh \
- ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/pre.sh \
- ob-cache/test-profiles/pts/shadowofthetombraider-1.0.0/post.sh \
- ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/install.sh \
- ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/interim.sh \
- ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/pre.sh \
- ob-cache/test-profiles/pts/shadowofthetombraider-1.0.1/post.sh \
- ob-cache/test-profiles/pts/csgo-1.5.1/pre_linux.sh \
- ob-cache/test-profiles/pts/dota2-1.2.2/pre_linux.sh \
- ob-cache/test-profiles/pts/portal-1.1.1/pre_linux.sh \
- deploy/docker/ubuntu-pts-docker-build.sh
+
+SHEBANG_GLOB= *.sh
CONFLICTS_INSTALL= phoronix-test-suite-php[0-9][0-9] # bin/phoronix-test-suite