Page MenuHomeFreeBSD

vkquake: Fix build when having no X11 deps
ClosedPublic

Authored by manu on Jun 11 2020, 1:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 25, 1:23 AM
Unknown Object (File)
Jun 21 2024, 6:37 AM
Unknown Object (File)
Jun 14 2024, 3:20 AM
Unknown Object (File)
May 23 2024, 4:58 PM
Unknown Object (File)
May 11 2024, 11:17 AM
Unknown Object (File)
Apr 26 2024, 2:51 PM
Unknown Object (File)
Apr 20 2024, 5:51 PM
Unknown Object (File)
Apr 20 2024, 6:43 AM
Subscribers

Details

Summary

When building with no X11 in all the ports vkquake can't find the vulkan_core.h
header. This is because no dependency add /usr/local/include to the CFLAGS.
Fix this by adding setting VULKAN_SDK to ${LOCALBASE}, the Makefile in the Quake
directory will add the proper CFLAGS.

Test Plan

poudriere testport with :
devel_sdl20_UNSET= VIDEO_X11
devel_vulkan-tools_UNSET= XCB XLIB
graphics_mesa-dri_UNSET= PLATFORM_X11
x11-wm_sway_UNSET= X11
x11-toolkits_wlroots_UNSET= X11

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable