[Lunar-commits] <moonbase-other> cups: Adding a CONFIGURE and adjusting the BUILD/DEPENDS to skirt around cups-filter depends loop.

Dennis Veatch dennisveatch at bellsouth.net
Fri Aug 8 00:45:56 CEST 2014


commit 99e5f6b6a3a825c2f8f66e118b5b8ed2963b80c0
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Thu, 07 Aug 2014 18:45:21 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/99e5f6b6a3a825c2f8f66e118b5b8ed2963b80c0

cups: Adding a CONFIGURE and adjusting the BUILD/DEPENDS to skirt around cups-filter depends loop.
---
  printer/cups/BUILD     | +6/-0     
  printer/cups/CONFIGURE | +1/-0     
  printer/cups/DEPENDS   | +0/-2     
  3 files changed, 7 insertions(+), 2 deletions(-)

--- a/printer/cups/BUILD
+++ b/printer/cups/BUILD
@@ -7,6 +7,12 @@
 
   if [ -e /etc/init.d/cups ] ; then
     rm -f /etc/init.d/cups
+  fi &&
+
+  if ! module_installed cups-filters ; then
+    if [ "$CUPS_FILTERS" == "y" ] ; then
+      lin cups-filters
+    fi
   fi
 
 ) > $C_FIFO 2>&1
--- /dev/null
+++ b/printer/cups/CONFIGURE
@@ -0,0 +1 @@
+mquery CUPS_FILTERS "Install cups-filters? ${PROBLEM_COLOR}This will happen after the install of cups.${DEFAULT_COLOR}" y
--- a/printer/cups/DEPENDS
+++ b/printer/cups/DEPENDS
@@ -1,5 +1,3 @@
-optional_depends "cups-filters" "" "" "needed to print documents other than *.ps"
-
 optional_depends "Linux-PAM" \
                  "--enable-pam=yes" \
                  "--disable-pam" \




More information about the Lunar-commits mailing list