summaryrefslogtreecommitdiffstats
path: root/source/x/mesa/mesa.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/mesa/mesa.SlackBuild')
-rwxr-xr-xsource/x/mesa/mesa.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/x/mesa/mesa.SlackBuild b/source/x/mesa/mesa.SlackBuild
index 3e64bf8ec..693cadd88 100755
--- a/source/x/mesa/mesa.SlackBuild
+++ b/source/x/mesa/mesa.SlackBuild
@@ -79,6 +79,9 @@ cd ${PKGNAM}-$VERSION || exit 1
# Let's kill the warning about operating on a dangling symlink:
rm -f src/gallium/state_trackers/d3d1x/w32api
+# Don't use the system DirectX headers:
+rm -f /usr/lib${LIBDIRSUFFIX}/pkgconfig/DirectX-Headers.pc
+
# Make sure ownerships and permissions are sane:
chown -R root:root .
find . \