patch pinentry to work with ncurses
This commit is contained in:
@@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ libcap gtk2 ncurses qt4 ];
|
buildInputs = [ libcap gtk2 ncurses qt4 ];
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace pinentry/pinentry-curses.c --replace ncursesw ncurses
|
||||||
|
'';
|
||||||
|
|
||||||
# configure cannot find moc on its own
|
# configure cannot find moc on its own
|
||||||
preConfigure = stdenv.lib.optionalString (qt4 != null) ''
|
preConfigure = stdenv.lib.optionalString (qt4 != null) ''
|
||||||
export QTDIR="${qt4}"
|
export QTDIR="${qt4}"
|
||||||
|
|||||||
Reference in New Issue
Block a user