diff options
author | Sam James <sam@gentoo.org> | 2023-05-27 11:42:55 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-27 11:46:40 +0100 |
commit | ebd88795c44b57f91049e1ff745a0b6682422cef (patch) | |
tree | 031ae0412e55f51c6b0e1e9baacd163a02e948dd /net-libs | |
parent | app-portage/prefix-toolkit-10-r1: drop obsolete elibc_Winnt block (diff) | |
download | gentoo-ebd88795c44b57f91049e1ff745a0b6682422cef.tar.gz gentoo-ebd88795c44b57f91049e1ff745a0b6682422cef.tar.bz2 gentoo-ebd88795c44b57f91049e1ff745a0b6682422cef.zip |
net-libs/liboauth: modernise
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/liboauth/liboauth-1.0.3-r1.ebuild | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/net-libs/liboauth/liboauth-1.0.3-r1.ebuild b/net-libs/liboauth/liboauth-1.0.3-r1.ebuild index f0475e3b43d8..911945ae3847 100644 --- a/net-libs/liboauth/liboauth-1.0.3-r1.ebuild +++ b/net-libs/liboauth/liboauth-1.0.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,8 +10,8 @@ SRC_URI="mirror://sourceforge/project/${PN}/${P}.tar.gz" LICENSE="|| ( GPL-2 MIT )" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~x64-macos" +# Upstream recommend NSS by default for licencing reasons (may change w/ openssl 3?) IUSE="bindist curl doc +nss" - REQUIRED_USE="bindist? ( nss )" PATCHES=( @@ -20,36 +20,34 @@ PATCHES=( "${FILESDIR}"/${PN}-1.0.3-openssl-1.1_2.patch ) -CDEPEND=" +RDEPEND=" curl? ( net-misc/curl ) - nss? ( dev-libs/nss + nss? ( + dev-libs/nss curl? ( || ( net-misc/curl[ssl,curl_ssl_nss] net-misc/curl[-ssl] ) ) ) !nss? ( - dev-libs/openssl:0= + dev-libs/openssl:= curl? ( || ( net-misc/curl[ssl,curl_ssl_openssl] net-misc/curl[-ssl] ) ) ) " - -RDEPEND="${CDEPEND}" - -DEPEND=" - ${CDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig doc? ( app-doc/doxygen media-gfx/graphviz media-fonts/freefont ) " -BDEPEND=" - virtual/pkgconfig -" + +DOCS=( AUTHORS ChangeLog LICENSE.OpenSSL README ) src_configure() { local myeconfargs=( @@ -71,8 +69,6 @@ src_compile() { fi } -DOCS=( AUTHORS ChangeLog LICENSE.OpenSSL README ) - src_install() { use doc && HTML_DOCS=( doc/html/. ) default |