commit:     4238cf7d20f91231a625b8e6817012f97f094b93
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 18:28:42 2020 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 18:28:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4238cf7d

dev-libs/libretls: add multilib support

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 .../libretls/{libretls-3.3.1.ebuild => libretls-3.3.1-r1.ebuild} | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libretls/libretls-3.3.1.ebuild 
b/dev-libs/libretls/libretls-3.3.1-r1.ebuild
similarity index 80%
rename from dev-libs/libretls/libretls-3.3.1.ebuild
rename to dev-libs/libretls/libretls-3.3.1-r1.ebuild
index a48c036a503..f014fafbf21 100644
--- a/dev-libs/libretls/libretls-3.3.1.ebuild
+++ b/dev-libs/libretls/libretls-3.3.1-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit multilib-minimal
+
 DESCRIPTION="Port of libtls from LibreSSL to OpenSSL"
 HOMEPAGE="https://git.causal.agency/libretls/about/";
 SRC_URI="https://causal.agency/libretls/${P}.tar.gz";
@@ -16,14 +18,15 @@ RDEPEND="${DEPEND}
        !dev-libs/libressl"
 BDEPEND="virtual/pkgconfig"
 
-src_configure() {
+multilib_src_configure() {
        local myconf=(
                --disable-static
        )
-       econf "${myconf[@]}"
+       ECONF_SOURCE="${S}" econf \
+               "${myconf[@]}"
 }
 
-src_install() {
+multilib_src_install() {
        default
        find "${D}" -name '*.la' -delete || die
 }

Reply via email to