diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-09-10 11:16:00 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-09-10 11:16:00 -0400 |
commit | 13b6694ac59f5256496d9971889713c43264533d (patch) | |
tree | 9ecd753010db58bc641965c0fa3d3fd01ab0bb00 /dev-libs/libfido2 | |
parent | media-gfx/imageworsener: 1.3.4 (diff) | |
download | gentoo-13b6694ac59f5256496d9971889713c43264533d.tar.gz gentoo-13b6694ac59f5256496d9971889713c43264533d.tar.bz2 gentoo-13b6694ac59f5256496d9971889713c43264533d.zip |
dev-libs/libfido2: disable static-libs and examples at build time
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-libs/libfido2')
-rw-r--r-- | dev-libs/libfido2/libfido2-1.7.0.ebuild | 12 | ||||
-rw-r--r-- | dev-libs/libfido2/libfido2-1.8.0.ebuild | 12 |
2 files changed, 6 insertions, 18 deletions
diff --git a/dev-libs/libfido2/libfido2-1.7.0.ebuild b/dev-libs/libfido2/libfido2-1.7.0.ebuild index 268a26e22c6e..cfb5b10e123c 100644 --- a/dev-libs/libfido2/libfido2-1.7.0.ebuild +++ b/dev-libs/libfido2/libfido2-1.7.0.ebuild @@ -41,20 +41,14 @@ pkg_pretend() { src_configure() { local mycmakeargs=( - -DNFC_LINUX="$(usex nfc)" - # Un-comment this once this issue is resolved. - # https://github.com/Yubico/libfido2/issues/389 - #-DBUILD_STATIC_LIBS=$(usex static-libs ON OFF) + -DBUILD_EXAMPLES=OFF + -DBUILD_STATIC_LIBS=$(usex static-libs ON OFF) + -DNFC_LINUX=$(usex nfc ON OFF) ) cmake_src_configure } src_install() { cmake_src_install - - if ! use static-libs; then - rm "${ED}/usr/$(get_libdir)/libfido2.a" || die - fi - udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules } diff --git a/dev-libs/libfido2/libfido2-1.8.0.ebuild b/dev-libs/libfido2/libfido2-1.8.0.ebuild index a9a9f3c2f640..4f21ba8a9dbd 100644 --- a/dev-libs/libfido2/libfido2-1.8.0.ebuild +++ b/dev-libs/libfido2/libfido2-1.8.0.ebuild @@ -41,20 +41,14 @@ pkg_pretend() { src_configure() { local mycmakeargs=( - -DNFC_LINUX="$(usex nfc)" - # Un-comment this once this issue is resolved. - # https://github.com/Yubico/libfido2/issues/389 - #-DBUILD_STATIC_LIBS=$(usex static-libs ON OFF) + -DBUILD_EXAMPLES=OFF + -DBUILD_STATIC_LIBS=$(usex static-libs ON OFF) + -DNFC_LINUX=$(usex nfc ON OFF) ) cmake_src_configure } src_install() { cmake_src_install - - if ! use static-libs; then - rm "${ED}/usr/$(get_libdir)/libfido2.a" || die - fi - udev_newrules udev/70-u2f.rules 70-libfido2-u2f.rules } |