app-crypt/libu2f-server: Add libressl USE flag
authorLuis Ressel <aranea@aixah.de>
Thu, 19 Jan 2017 20:56:43 +0000 (21:56 +0100)
committerGöktürk Yüksek <gokturk@gentoo.org>
Fri, 27 Jan 2017 19:13:36 +0000 (14:13 -0500)
In my tests, libu2f-server has worked fine with libressl; no patches are
necessary.

app-crypt/libu2f-server/libu2f-server-1.0.1.ebuild

index e59d5748197f7acb17ca071c65c477bd9190c2b1..6c8eb77a509555236bc5059a7db1f318d4af504c 100644 (file)
@@ -13,10 +13,11 @@ SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.xz"
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="static-libs test"
+IUSE="libressl static-libs test"
 
 RDEPEND="
-       dev-libs/openssl:0=[${MULTILIB_USEDEP}]
+       !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
+       libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
        dev-libs/hidapi[${MULTILIB_USEDEP}]
        dev-libs/json-c[${MULTILIB_USEDEP}]
 "