summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormharris <mharris@fedoraproject.org>2005-12-19 11:48:55 +0000
committermharris <mharris@fedoraproject.org>2005-12-19 11:48:55 +0000
commiteb5c34bf2846b8b99d95eb9fdef8c0d75217667a (patch)
tree0ed8d6d014d1413ae070d62d6bf572540d564d53
parent5f0f63e8cd677ab27964d09d5338024615c61144 (diff)
downloadmesa-eb5c34bf2846b8b99d95eb9fdef8c0d75217667a.tar.gz
mesa-eb5c34bf2846b8b99d95eb9fdef8c0d75217667a.tar.xz
mesa-eb5c34bf2846b8b99d95eb9fdef8c0d75217667a.zip
enable osmesa for non-dri buildsmesa-6_4_1-1
-rw-r--r--mesa.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/mesa.spec b/mesa.spec
index 5ffd625..13fe287 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -31,11 +31,15 @@
%define with_dri 0
%endif
-# FIXME: We dont build libOSMesa, because it seems next to impossible to get
-# the totally broken Mesa buildsystem to build both DRI drivers and OSMesa in
-# a single build. If someone feels like fixing all this to build on all 7
-# architectures, be my guest.
+# FIXME: libOSMesa does not build when DRI is enabled for some reason. It
+# seems next to impossible using the totally broken Mesa buildsystem to build
+# both DRI drivers and OSMesa in a single build. If someone feels like fixing
+# all this to build on all 7 architectures, be my guest.
+%if %{with_dri}
%define with_OSMesa 0
+%else
+%define with_OSMesa 1
+%endif
#-- END DRI Build Configuration ------------------------------------------