[Lunar-commits] <moonbase> lensfun: make doxygen optional

Zachary McGrew zmcgrew at lunar-linux.org
Wed Jun 17 06:11:54 CEST 2009


commit b55b3bbf33b3595458a1e888ab36354afa39619c
Author: Zachary McGrew <zmcgrew at lunar-linux.org>
Date:   Fri Jun 12 20:59:22 2009 -0700

    lensfun: make doxygen optional
---
 graphics/lensfun/BUILD   |    4 +++-
 graphics/lensfun/DEPENDS |    3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/graphics/lensfun/BUILD b/graphics/lensfun/BUILD
index 2e3df4b..2ac30f5 100644
--- a/graphics/lensfun/BUILD
+++ b/graphics/lensfun/BUILD
@@ -3,7 +3,9 @@
   ./configure --prefix=/usr   \
               $OPTS          &&
 # it has some outdated document tags and this fixes some of them
-  doxygen -u docs/docs.mak    &&
+  if in_depends $MODULE doxygen ; then
+    doxygen -u docs/docs.mak
+  fi
 # end
 
 # Its make process is rather brain dead, you have to specify something.
diff --git a/graphics/lensfun/DEPENDS b/graphics/lensfun/DEPENDS
index c96335a..bdd87ce 100644
--- a/graphics/lensfun/DEPENDS
+++ b/graphics/lensfun/DEPENDS
@@ -1,4 +1,5 @@
 depends glib-2
-depends doxygen
 depends libpng
 depends zlib
+
+optional_depends doxygen


More information about the Lunar-commits mailing list