From 7db0c5970ea13ec2de45847b10cc4d9eee3b115f Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 30 Dec 2017 08:51:33 +0000 Subject: [PATCH] graphics/mesa-dri: unbreak on powerpc* + clang after r457430 python2.7 ./radv_entrypoints_gen.py \ --xml ../../../src/vulkan/registry/vk.xml --outdir . Traceback (most recent call last): File "./radv_entrypoints_gen.py", line 30, in from mako.template import Template ImportError: No module named mako.template PR: 221540 Reported by: Mark Millard (via ports@ list) Approved by: portmgr blanket --- graphics/mesa-dri/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile index b9621382eb6c..8bf9b8b26fe2 100644 --- a/graphics/mesa-dri/Makefile +++ b/graphics/mesa-dri/Makefile @@ -63,8 +63,11 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-src_gallium_drivers_vc4_Makefile.in . endif .endif -.if ${VULKAN_DRIVERS:MINTEL} +.if ${VULKAN_DRIVERS} BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} +.endif + +.if ${VULKAN_DRIVERS:MINTEL} . if ${/usr/bin/ld:L:tA} != "/usr/bin/ld.lld" # --build-id isn't supported by old GNU ld.bfd in base USE_BINUTILS= yes