Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2014 15:26:27 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Max Brazhnikov <makc@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   security/pinentry patch for WINOUT_X11 systems
Message-ID:  <alpine.BSF.2.00.1412191524060.3820@woozle.rinet.ru>

next in thread | raw e-mail | index | archive | help
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@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@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1412191524060.3820>