[Lunar-commits] <moonbase> gl2ps: fix dependencies

Samuel Verstraete samuel.verstraete at gmail.com
Tue Dec 13 13:54:49 CET 2011


commit 649c538d47b2338fbc076c65cab86f9e81689d08
Author: Samuel Verstraete <samuel.verstraete at gmail.com>
Date:   Tue Dec 13 13:54:49 2011 +0100

    gl2ps: fix dependencies
---
 printer/gl2ps/BUILD   |    5 +++--
 printer/gl2ps/DEPENDS |    4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/printer/gl2ps/BUILD b/printer/gl2ps/BUILD
index babf83c..3425690 100644
--- a/printer/gl2ps/BUILD
+++ b/printer/gl2ps/BUILD
@@ -1,7 +1,8 @@
 (
 
-
-  . /etc/profile.d/qt4.rc &&
+  if in_depends $MODULE qt4; then
+    . /etc/profile.d/qt4.rc
+  fi 
 
   default_cmake_build
 
diff --git a/printer/gl2ps/DEPENDS b/printer/gl2ps/DEPENDS
index 8e12507..62cbfde 100644
--- a/printer/gl2ps/DEPENDS
+++ b/printer/gl2ps/DEPENDS
@@ -1,3 +1,3 @@
 depends cmake
-depends texlive
-depends qt4
+optional_depends texlive
+optional_depends qt4


More information about the Lunar-commits mailing list