Date: Tue, 20 Dec 2022 18:48:46 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c4b199a36a12 - main - graphics/vulkan-headers: pacify stage-qa after 93b836bc9e65 Message-ID: <202212201848.2BKImkEs022350@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=c4b199a36a122b38b2235082fa176c41f7f13343 commit c4b199a36a122b38b2235082fa176c41f7f13343 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-12-20 18:16:26 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-12-20 18:48:43 +0000 graphics/vulkan-headers: pacify stage-qa after 93b836bc9e65 Error: '/usr/bin/python3' is an invalid shebang you need USES=shebangfix for 'share/vulkan/registry/genvk.py' genvk.py is used to generate include/vulkan/*.h but distfile already contains pregerenated version, so the shebang is unused. Regenerating headers isn't supported by CMake build, and requires docgenerator.py from Vulkan-Docs repo. PR: 268489 Reported by: amdmi3 Regressed by: https://github.com/KhronosGroup/Vulkan-Headers/commit/75a6b83f213d --- graphics/vulkan-headers/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/graphics/vulkan-headers/Makefile b/graphics/vulkan-headers/Makefile index 20885b714403..66b6fd82de64 100644 --- a/graphics/vulkan-headers/Makefile +++ b/graphics/vulkan-headers/Makefile @@ -1,6 +1,7 @@ PORTNAME= vulkan-headers DISTVERSIONPREFIX= v DISTVERSION= 1.3.238 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org @@ -16,6 +17,10 @@ GH_PROJECT= Vulkan-Headers STRIP= # nothing to strip NO_ARCH= yes +post-extract: +# genvk.py requires docgenerator.py from Vulkan-Docs, so drop useless shebang + @${FIND} ${WRKSRC}/registry -name \*.py -exec ${REINPLACE_CMD} -i '' '/^#!/d' {} + + post-patch: # XXX Drop after FreeBSD 12.* EOL around 2024-06-30 @if [ -L /usr/include/sched.h ]; then \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212201848.2BKImkEs022350>