[Lunar-commits] <moonbase> lcdf-typetools: Fixing a depends conflict here.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sat Sep 25 17:08:55 CEST 2010


commit ce57162da2ae18fe298972d8e77efa38f066defe
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sat Sep 25 11:08:55 2010 -0400

    lcdf-typetools: Fixing a depends conflict here.
---
 doc-tools/lcdf-typetools/BUILD   |    6 ++++--
 doc-tools/lcdf-typetools/DEPENDS |    1 -
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc-tools/lcdf-typetools/BUILD b/doc-tools/lcdf-typetools/BUILD
index 8dec37e..39607a1 100644
--- a/doc-tools/lcdf-typetools/BUILD
+++ b/doc-tools/lcdf-typetools/BUILD
@@ -1,7 +1,9 @@
 (
 
-  if in_depends $MODULE teTeX ; then
-  OPTS="--with-kpathsea=/usr/include/kpathsea/"
+  if module_installed %TEX ; then
+     OPTS="--with-kpathsea=/usr/include/kpathsea/"
+    else
+     OPTS="--without-kpathsea"
   fi &&
 
   default_build
diff --git a/doc-tools/lcdf-typetools/DEPENDS b/doc-tools/lcdf-typetools/DEPENDS
deleted file mode 100644
index a0e41f8..0000000
--- a/doc-tools/lcdf-typetools/DEPENDS
+++ /dev/null
@@ -1 +0,0 @@
-optional_depends teTeX  "--enable-tetex-build" "--disable-tetex-build" "for teTeX"


More information about the Lunar-commits mailing list