security/pinentry patch for WINOUT_X11 systems

Dmitry Morozovsky marck at rinet.ru
Fri Dec 19 12:28:36 UTC 2014


Max,

pinentry currently brokes if WITHOUT_X11 (or, by new world orderm 
OPTIONS_UNSET+=X11) is set.

what do you think about the following patch?

marck at castor:/FreeBSD/ports/ports/security/pinentry> svn diff
Index: Makefile
===================================================================
--- Makefile    (revision 374940)
+++ Makefile    (working copy)
@@ -25,7 +25,11 @@
 .if !defined(PINENTRY_SLAVE)
 OPTIONS_MULTI= FRONTEND
 OPTIONS_MULTI_FRONTEND=        NCURSES GTK2 QT4
+. if defined(WITHOUT_X11) || ${OPTIONS_UNSET:MX11}
+OPTIONS_DEFAULT=       NCURSES
+. else
 OPTIONS_DEFAULT=       ${OPTIONS_MULTI_FRONTEND}
+. endif

 NCURSES_DESC=  Curses frontend
 GTK2_DESC=     Gtk+ 2 frontend


-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-ports mailing list