Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2020 15:25:01 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r538496 - head/games/vkquake
Message-ID:  <202006111525.05BFP1V2050898@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Thu Jun 11 15:25:01 2020
New Revision: 538496
URL: https://svnweb.freebsd.org/changeset/ports/538496

Log:
  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

Modified:
  head/games/vkquake/Makefile

Modified: head/games/vkquake/Makefile
==============================================================================
--- head/games/vkquake/Makefile	Thu Jun 11 15:06:50 2020	(r538495)
+++ head/games/vkquake/Makefile	Thu Jun 11 15:25:01 2020	(r538496)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006111525.05BFP1V2050898>