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
F81697676: D25233.id72986.diff
Sat, Apr 20, 2:56 AM
F81692521: D25233.diff
Sat, Apr 20, 12:57 AM
Unknown Object (File)
Mar 5 2024, 2:25 AM
Unknown Object (File)
Mar 5 2024, 2:25 AM
Unknown Object (File)
Mar 5 2024, 2:21 AM
Unknown Object (File)
Mar 4 2024, 8:12 AM
Unknown Object (File)
Mar 1 2024, 12:24 PM
Unknown Object (File)
Dec 29 2023, 9:23 PM
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 Skipped
Unit
Tests Skipped