[Lunar-commits] <moonbase> pinentry: Adjusting the DEPENDS. Making ncurses a hard depends to be used as a

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sat Dec 24 10:45:30 CET 2011


commit 40f41b5d5b5777354babd3ce1bdfae63f8ff16e9
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sat Dec 24 04:45:30 2011 -0500

    pinentry: Adjusting the DEPENDS. Making ncurses a hard depends to be used as a
    
    fallback. The --enable-pinentry-qt switch is for qt3 so don't try poking that
    in the optional_depends entry, it will tank the ./confiugre. There is no qt4
    switch.
    
    Adjusting the BUILD to make ncurses the fallback and adding a if/then should
    qt4 be enabled in the DEPENDS to set the profile rc.
---
 x11-utils/pinentry/BUILD   |    6 ++++++
 x11-utils/pinentry/DEPENDS |    6 +++++-
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/x11-utils/pinentry/BUILD b/x11-utils/pinentry/BUILD
index d0360a6..fb206fc 100644
--- a/x11-utils/pinentry/BUILD
+++ b/x11-utils/pinentry/BUILD
@@ -1,5 +1,11 @@
 (
 
+  OPTS+=" --enable-fallback-curses --enable-pinentry-curses" &&
+
+  if in_depends $MODULE qt4 ; then
+    . /etc/profile.d/qt4.rc 
+  fi &&
+
   sedit 's/gulong/gsize/g' gtk+-2/gtksecentry.c  &&
 
   default_build
diff --git a/x11-utils/pinentry/DEPENDS b/x11-utils/pinentry/DEPENDS
index aec4716..984ccb0 100644
--- a/x11-utils/pinentry/DEPENDS
+++ b/x11-utils/pinentry/DEPENDS
@@ -1 +1,5 @@
-optional_depends gtk+-2 "" ""   "for Gtk-2 support"
+depends ncurses
+
+optional_depends "libcap-ng" "--with-libcap"          "--without-libcap"        "for POSIX 1003.1e support"
+optional_depends "gtk+-2"    "--enable-pinentry-gtk2" "--disable-pinentry-gtk2" "for Gtk-2 support"
+optional_depends "qt4"       ""   ""   "for Qt pinentry support"


More information about the Lunar-commits mailing list