commit:     0faf81bb0123105cf859dd3e543b2dee40783948
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 03:44:15 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 04:10:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0faf81bb

net-libs/libesmtp: fix DeprecatedInsinto

Package-Manager: Portage-3.0.12.0.2-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild | 10 +++++++---
 net-libs/libesmtp/libesmtp-9999.ebuild     |  2 ++
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild 
b/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild
index cedef690ec4..c2724ec96bc 100644
--- a/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild
+++ b/net-libs/libesmtp/libesmtp-1.0.6-r3.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit autotools
 
 DESCRIPTION="lib that implements the client side of the SMTP protocol"
@@ -19,7 +20,9 @@ RDEPEND="
                libressl? ( dev-libs/libressl:0= )
        )"
 DEPEND="${RDEPEND}"
+
 DOCS=( AUTHORS ChangeLog NEWS Notes README TODO )
+
 PATCHES=(
        "${FILESDIR}/${P}-openssl-1.1-api-compatibility.patch"
 )
@@ -31,8 +34,8 @@ src_prepare() {
 
 src_configure() {
        econf \
-               $(use_enable static-libs static) \
                --enable-all \
+               $(use_enable static-libs static) \
                $(use_enable ntlm) \
                $(use_enable threads pthreads) \
                $(use_enable debug) \
@@ -41,6 +44,7 @@ src_configure() {
 
 src_install() {
        default
-       insinto /usr/share/doc/${PF}/xml
-       doins doc/api.xml
+
+       docinto xml
+       dodoc doc/api.xml
 }

diff --git a/net-libs/libesmtp/libesmtp-9999.ebuild 
b/net-libs/libesmtp/libesmtp-9999.ebuild
index 78e059810fa..20a4ae8e753 100644
--- a/net-libs/libesmtp/libesmtp-9999.ebuild
+++ b/net-libs/libesmtp/libesmtp-9999.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit meson
 
 DESCRIPTION="lib that implements the client side of the SMTP protocol"
@@ -13,6 +14,7 @@ else
        SRC_URI="https://github.com/libesmtp/libESMTP/archive/v${PV/_}.tar.gz 
-> ${P}.tar.gz"
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
+
 LICENSE="LGPL-2.1 GPL-2"
 SLOT="0"
 IUSE="libressl ssl static-libs threads"

Reply via email to