Include drop-unknown-suffix.inc to remove unknown suffix in runtime
version.
Befor the fix:
$ pinentry --version
pinentry-curses (pinentry) 1.3.1-unknown
After the fix:
$ pinentry --version
pinentry-curses (pinentry) 1.3.1
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
inherit autotools pkgconfig
+require recipes-support/gnupg/drop-unknown-suffix.inc
+
PACKAGECONFIG ??= "ncurses"
PACKAGECONFIG[ncurses] = "--enable-ncurses --with-ncurses-include-dir=${STAGING_INCDIR}, --disable-ncurses, ncurses"