From 813409127c0d8671332b389ce5bfc095caca46e7 Mon Sep 17 00:00:00 2001 From: Dima Panov Date: Tue, 25 Jul 2023 21:58:10 +0300 Subject: [PATCH] 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 63d07224ef1fc..be1f0aaaf7fc0 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