blob: 2b947d19d4c4a45104455d7762e0f3d4f3bf9b86 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
PORTNAME= vulkan-headers
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.226
CATEGORIES= graphics
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Headers for the Vulkan graphics API
LICENSE= APACHE20
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= KhronosGroup
GH_PROJECT= Vulkan-Headers
STRIP= # nothing to strip
NO_ARCH= yes
post-patch:
# XXX Drop after FreeBSD 12.* EOL around 2024-06-30
@if [ -L /usr/include/sched.h ]; then \
${REINPLACE_CMD} $$'/^namespace/i\\\n#undef major\\\n#undef minor\\\n\\\n' \
${WRKSRC}/include/vulkan/vulkan_structs.hpp; \
fi
.include <bsd.port.mk>
|