freebsd-ports/graphics/vulkan-loader/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

48 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= vulkan-loader
DISTVERSIONPREFIX=sdk-
DISTVERSION= 1.1.108.0
PORTREVISION= 1
CATEGORIES= graphics devel
MAINTAINER= greg@unrelenting.technology
COMMENT= Driver loader for the Vulkan graphics API
LICENSE= APACHE20
BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:devel/vulkan-headers
USES= cmake compiler:c++11-lib pkgconfig python:3.4+,build
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= KhronosGroup
GH_PROJECT= Vulkan-Loader
CMAKE_ON= CMAKE_SKIP_RPATH
CMAKE_OFF= BUILD_TESTS
OPTIONS_DEFINE= XLIB XCB WAYLAND
OPTIONS_DEFAULT=XLIB XCB WAYLAND
XLIB_DESC= Build Xlib WSI (Window System Integration) support
XCB_DESC= Build XCB WSI (Window System Integration) support
WAYLAND_DESC= Build Wayland WSI (Window System Integration) support
XLIB_CMAKE_BOOL= BUILD_WSI_XLIB_SUPPORT
XLIB_LIB_DEPENDS= libX11.so:x11/libX11 \
libXrandr.so:x11/libXrandr
XCB_CMAKE_BOOL= BUILD_WSI_XCB_SUPPORT
XCB_LIB_DEPENDS= libX11-xcb.so:x11/libX11 \
libxcb.so:x11/libxcb
WAYLAND_CMAKE_BOOL= BUILD_WSI_WAYLAND_SUPPORT
WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland
post-patch:
# Non-x86 targets use C code, so don't abort without GNU as (e.g., on aarch64)
.if !exists(/usr/bin/as) && ${MACHINE_ARCH} != i386 && ${MACHINE_ARCH} != amd64
@${REINPLACE_CMD} 's/-ATT//' ${WRKSRC}/loader/CMakeLists.txt
.endif
.include <bsd.port.mk>