summaryrefslogtreecommitdiffstats
path: root/graphics-libs
diff options
context:
space:
mode:
authorIsmael Luceno2019-08-08 20:41:31 +0200
committerIsmael Luceno2019-08-09 09:18:27 +0200
commit29cc35b8d3bf4e5f0fc98f773559cff2ccd3599b (patch)
tree2600e52a20e6996731c4462d67b0fa26b4a2ad6a /graphics-libs
parentfc254645f79c836a344f9febc8de59064b76ae62 (diff)
mesa: Fix build on non-glibc systems
Diffstat (limited to 'graphics-libs')
-rwxr-xr-xgraphics-libs/mesa/BUILD14
-rw-r--r--graphics-libs/mesa/HISTORY3
2 files changed, 17 insertions, 0 deletions
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 <ismael@sourcemage.org>
+ * BUILD: Fixed build on non-glibc systems
+
2019-08-08 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 19.1.4