forked from kiss-community/repo
18 lines
705 B
Bash
Executable File
18 lines
705 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# TODO(nitori): fix this so curses pinentry can be enabled
|
|
# pinentry-curses.c:283:18: warning: implicit declaration of function 'addnwstr'; did you mean 'addnstr'? [-Wimplicit-function-declaration]
|
|
# 283 | #define ADDCH(x) addnwstr (&x, 1);
|
|
# | ^~~~~~~~
|
|
# [...]
|
|
# /usr/bin/ld: ../pinentry/libpinentry-curses.a(libpinentry_curses_a-pinentry-curses.o): undefined reference to symbol 'cbreak'
|
|
# /usr/bin/ld: /usr/lib/libtinfow.so.6: error adding symbols: DSO missing from command line
|
|
# collect2: error: ld returned 1 exit status
|
|
./configure --prefix=/usr \
|
|
--disable-pinentry-qt5 \
|
|
--disable-pinentry-curses \
|
|
--enable-pinentry-tty
|
|
|
|
make
|
|
make DESTDIR="$1" install
|