svn commit: r483225 - head/graphics/mesa-dri
Jan Beich
jbeich at FreeBSD.org
Sun Oct 28 05:04:42 UTC 2018
Author: jbeich
Date: Sun Oct 28 05:04:41 2018
New Revision: 483225
URL: https://svnweb.freebsd.org/changeset/ports/483225
Log:
graphics/mesa-dri: unbreak GCC build after r438198
configure: error: --enable-llvm is required when building r300
PR: 231329
Approved by: maintainer timeout (1 month)
Modified:
head/graphics/mesa-dri/Makefile (contents, props changed)
Modified: head/graphics/mesa-dri/Makefile
==============================================================================
--- head/graphics/mesa-dri/Makefile Sun Oct 28 05:02:36 2018 (r483224)
+++ head/graphics/mesa-dri/Makefile Sun Oct 28 05:04:41 2018 (r483225)
@@ -46,7 +46,11 @@ VULKAN_DRIVERS= #
.if ${ARCH} == amd64 || ${ARCH} == i386 \
|| ${ARCH} == powerpc || ${ARCH} == powerpc64
DRI_DRIVERS+= RADEON R200
-GALLIUM_DRIVERS+= R300 R600
+GALLIUM_DRIVERS+= R600
+. if "${MESA_LLVM_VER}" != "" && (${ARCH} == amd64 || ${ARCH} == i386)
+# https://cgit.freedesktop.org/mesa/mesa/commit/?id=58952675f6d4
+GALLIUM_DRIVERS+= R300
+. endif
. if "${MESA_LLVM_VER}" != "" # until PPC gets LLVM in base
GALLIUM_DRIVERS+= RADEONSI
VULKAN_DRIVERS+= RADEON
More information about the svn-ports-all
mailing list