diff options
| author | Yi Zhao <yi.zhao@eng.windriver.com> | 2025-07-02 15:28:57 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-03 10:40:16 +0100 |
| commit | f551a5e368548c1edcb6872f7f958d425509d191 (patch) | |
| tree | bf16c051e57b38bd0147868ec3d39949a2967b9b /meta | |
| parent | cd6104d347cc25dc8b452c8b993443e5eca64634 (diff) | |
| download | poky-f551a5e368548c1edcb6872f7f958d425509d191.tar.gz | |
libksba: drop -unknown suffix from version number
Include drop-unknown-suffix.inc to remove unknown suffix from version in
pc file.
Befor the fix:
$ cat /usr/lib/pkgconfig/ksba.pc
[snip]
Name: ksba
Description: X.509 and CMS support library
Requires: gpg-error
Version: 1.6.7-unknown
Cflags: -I${includedir}
[snip]
After the fix:
$ cat /usr/lib/pkgconfig/ksba.pc
[snip]
Name: ksba
Description: X.509 and CMS support library
Requires: gpg-error
Version: 1.6.7
Cflags: -I${includedir}
[snip]
(From OE-Core rev: e4a81e02f0d6c7d2738fee2dee9e3aaf920ae0b2)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-support/libksba/libksba_1.6.7.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/libksba/libksba_1.6.7.bb b/meta/recipes-support/libksba/libksba_1.6.7.bb index b7a9fc4050..d97fa84977 100644 --- a/meta/recipes-support/libksba/libksba_1.6.7.bb +++ b/meta/recipes-support/libksba/libksba_1.6.7.bb | |||
| @@ -20,6 +20,8 @@ BINCONFIG = "${bindir}/ksba-config" | |||
| 20 | 20 | ||
| 21 | inherit autotools binconfig-disabled pkgconfig texinfo | 21 | inherit autotools binconfig-disabled pkgconfig texinfo |
| 22 | 22 | ||
| 23 | require recipes-support/gnupg/drop-unknown-suffix.inc | ||
| 24 | |||
| 23 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" | 25 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
| 24 | SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ | 26 | SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ |
| 25 | file://ksba-add-pkgconfig-support.patch" | 27 | file://ksba-add-pkgconfig-support.patch" |
