[Lunar-commits] <moonbase> mesa-lib: smart cut of circular dependency with xorg-server

Zbigniew Luszpinski zbiggy at lunar-linux.org
Wed Feb 15 22:37:24 CET 2012


commit 3b735f1abfe386778101132758fa904e51b9b251
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Wed Feb 15 22:37:24 2012 +0100

    mesa-lib: smart cut of circular dependency with xorg-server
---
 xorg7/mesa-lib/BUILD |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/xorg7/mesa-lib/BUILD b/xorg7/mesa-lib/BUILD
index 9e9f9e9..73ba3bc 100644
--- a/xorg7/mesa-lib/BUILD
+++ b/xorg7/mesa-lib/BUILD
@@ -31,7 +31,11 @@
   # Needed with mesa-lib 7.8.2
   rm -f include/GL/glut{,f90}.h  &&
 
-  ./configure --prefix=/usr  $OPTS --with-x --enable-xcb --enable-xorg &&
+  if module_installed xorg-server; then
+     OPTS+=" --with-x --enable-xcb --enable-xorg"
+  fi  &&
+
+  ./configure --prefix=/usr $OPTS &&
 
   prepare_install  &&
 


More information about the Lunar-commits mailing list