1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

vkquake: Fix build when having no X11 deps

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.

Approved by:	Greg V (maintainer)
Differential Revision:	https://reviews.freebsd.org/D25233
This commit is contained in:
Emmanuel Vadot 2020-06-11 15:25:01 +00:00
parent 14a7c49324
commit 1dabfc261b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538496

View File

@ -25,7 +25,7 @@ GH_PROJECT= vkQuake
INSTALLS_ICONS= yes
MAKE_ENV= prefix=${PREFIX} bindir=${PREFIX}/bin
MAKE_ENV= prefix=${PREFIX} bindir=${PREFIX}/bin VULKAN_SDK=${LOCALBASE}
ALL_TARGET= # empty
.include "${.CURDIR}/../quake-data/Makefile.include"