From d457dd419e5137c9a2cae90cf1e2924a8fbfce15 Mon Sep 17 00:00:00 2001 From: Thomas Batten Date: Wed, 23 Jan 2019 10:48:49 +1030 Subject: [PATCH] libGL: Enable building on ppc --- srcpkgs/libGL/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/libGL/template b/srcpkgs/libGL/template index 5f00f89503..21324c357c 100644 --- a/srcpkgs/libGL/template +++ b/srcpkgs/libGL/template @@ -39,7 +39,7 @@ i686*|x86_64*) subpackages+=" libxatracker mesa-ati-dri mesa-intel-dri mesa-nouveau-dri" subpackages+=" mesa-vmwgfx-dri mesa-opencl" ;; -ppc64*) +ppc*) # No OpenCL and a bunch of other things but otherwise complete configure_args+=" -Dgallium-drivers=r300,r600,radeonsi,swrast,nouveau,virgl" configure_args+=" -Ddri-drivers=r100,r200,nouveau" @@ -171,7 +171,7 @@ mesa-ati-dri_package() { vmove "usr/share/vulkan/icd.d/radeon_icd*.json" vmove "usr/lib/libvulkan_radeon.so" case "$XBPS_TARGET_MACHINE" in - ppc64*) ;; + ppc*) ;; *) vmove "usr/lib/gallium-pipe/pipe_r[36]00.so" vmove usr/lib/gallium-pipe/pipe_radeonsi.so @@ -197,7 +197,7 @@ mesa-nouveau-dri_package() { vmove "usr/lib/xorg/modules/drivers/nouveau*" vmove "usr/lib/dri/nouveau*" case "$XBPS_TARGET_MACHINE" in - aarch64*|ppc64*) ;; + aarch64*|ppc*) ;; *) vmove usr/lib/gallium-pipe/pipe_nouveau.so ;; esac }