From 29cc35b8d3bf4e5f0fc98f773559cff2ccd3599b Mon Sep 17 00:00:00 2001 From: Ismael Luceno Date: Thu, 8 Aug 2019 20:41:31 +0200 Subject: mesa: Fix build on non-glibc systems --- graphics-libs/mesa/BUILD | 14 ++++++++++++++ graphics-libs/mesa/HISTORY | 3 +++ 2 files changed, 17 insertions(+) (limited to 'graphics-libs') diff --git a/graphics-libs/mesa/BUILD b/graphics-libs/mesa/BUILD index c0a005829d..1da3389f4d 100755 --- a/graphics-libs/mesa/BUILD +++ b/graphics-libs/mesa/BUILD @@ -1,3 +1,17 @@ +case "$HOST" in +*-gnu) ;; +*) + local unportable=(intel) + message "${PROBLEM_COLOR}WARNING:$DEFAULT_COLOR" \ + "Disabling non-portable tools: ${unportable[*]}" + MESA_TOOLS=" ${MESA_TOOLS} " + for i in "${unportable[@]}"; do + MESA_TOOLS="${MESA_TOOLS// $i / }" + done + MESA_TOOLS="${MESA_TOOLS# }" + MESA_TOOLS="${MESA_TOOLS% }" + ;; +esac #LDFLAGS='' && #CXXFLAGS='' && local vulkan=${MESA_VULKAN//none} && diff --git a/graphics-libs/mesa/HISTORY b/graphics-libs/mesa/HISTORY index 9722c22c74..b85003ecec 100644 --- a/graphics-libs/mesa/HISTORY +++ b/graphics-libs/mesa/HISTORY @@ -1,3 +1,6 @@ +2019-08-08 Ismael Luceno + * BUILD: Fixed build on non-glibc systems + 2019-08-08 Pavel Vinogradov * DETAILS: version 19.1.4 -- cgit v1.2.3