[Lunar-commits] <moonbase> gtk+-2: making docs an option

Duncan Gibson engelsman at lunar-linux.org
Mon Apr 25 16:30:48 CEST 2011


commit 4bf328494a641acbcb8dfa640a431fcb769de0f3
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Mon Apr 25 16:30:48 2011 +0200

    gtk+-2: making docs an option
    
    WARNING: probably pebcak on my part, but I could not get this to
             install while I had NVIDIA installed too. Nor the previous
    	 version either. /bin/sh seg fault creating /etc/gtk-iommodules
    	 If you know what I did wrong, please tell me - engelsman
---
 graphics/gtk+-2/BUILD     |    4 ++++
 graphics/gtk+-2/CONFIGURE |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/graphics/gtk+-2/BUILD b/graphics/gtk+-2/BUILD
index 29148b3..9e72887 100644
--- a/graphics/gtk+-2/BUILD
+++ b/graphics/gtk+-2/BUILD
@@ -17,6 +17,10 @@
 
   patch_it $SOURCE2 1     &&
 
+  if [ "`get_module_config DOCS`" = "n" ] ; then
+    sedit "s/docs m4macros build/m4macros build/g" Makefile.in
+  fi  &&
+
   default_build
 
 ) > $C_FIFO 2>&1
diff --git a/graphics/gtk+-2/CONFIGURE b/graphics/gtk+-2/CONFIGURE
index 09e5e1d..6b60b12 100644
--- a/graphics/gtk+-2/CONFIGURE
+++ b/graphics/gtk+-2/CONFIGURE
@@ -11,3 +11,5 @@ if [ "`get_module_config GDK_TARGET`" = "n" ]; then
                 "--with-xinput=no"
 
 fi
+
+mquery DOCS "Build docs?" n


More information about the Lunar-commits mailing list