[Lunar-commits] <moonbase> graphviz: fix some stupid errors in BUILD / add explicit php optdep

Michael 'v4hn' Goerner v4hn at lunar-linux.org
Thu May 3 21:44:15 CEST 2012


commit e71b293f2cc0d0e4ad5dec4d0abeb81b107fc3e6
Author: Michael 'v4hn' Goerner <v4hn at lunar-linux.org>
Date:   Thu May 3 13:55:12 2012 +0200

    graphviz: fix some stupid errors in BUILD / add explicit php optdep
---
 graphics/graphviz/BUILD   |    6 +++---
 graphics/graphviz/DEPENDS |    1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/graphics/graphviz/BUILD b/graphics/graphviz/BUILD
index 7788905..aabc03d 100644
--- a/graphics/graphviz/BUILD
+++ b/graphics/graphviz/BUILD
@@ -8,15 +8,15 @@
   PERL_VER="`lvu version perl`"
   PERL_SO_PATH="/usr/lib/perl$PERL_MAJ_VER/$PERL_VER/`arch`-linux-thread-multi/CORE/"
 # If you have R installed you will get the same type rebuild kick off because
-# libR.so cannot be found. 
+# libR.so cannot be found.
   R_SO_PATH="/usr/lib/R/lib "
 # So lets put all that together.
   LDFLAGS="$LDFLAGS -Wl,-rpath,${PERL_SO_PATH},-rpath,${R_SO_PATH}"
 # done
 
-  OPTS="--with-libgd --with-fontconfig"
+  OPTS+=" --with-libgd --with-fontconfig"
 
-  default_build
+  default_build &&
 
   # create the default config-files
   dot -c
diff --git a/graphics/graphviz/DEPENDS b/graphics/graphviz/DEPENDS
index 86d26d0..1a11b03 100644
--- a/graphics/graphviz/DEPENDS
+++ b/graphics/graphviz/DEPENDS
@@ -24,6 +24,7 @@ optional_depends "tk"        "" "" "For building extra tcl/tk tools"
 optional_depends "ocaml"     "" "--disable-ocaml" "ocaml support"
 optional_depends "swig"      "" "--disable-swig"  "swig support"
 optional_depends "lua"       "" "--disable-lua"   "lua support"
+optional_depends "php5"       "--enable-php" "--disable-php" "php support"
 
 optional_depends "ruby"      "--enable-ruby" "--disable-ruby"   "for ruby support"
 optional_depends "ming"      "--with-ming"   "--without-ming"   "for flash support"


More information about the Lunar-commits mailing list