1 |
commit: 4238cf7d20f91231a625b8e6817012f97f094b93 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 29 18:28:42 2020 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 18:28:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4238cf7d |
7 |
|
8 |
dev-libs/libretls: add multilib support |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
|
13 |
.../libretls/{libretls-3.3.1.ebuild => libretls-3.3.1-r1.ebuild} | 9 ++++++--- |
14 |
1 file changed, 6 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libretls/libretls-3.3.1.ebuild b/dev-libs/libretls/libretls-3.3.1-r1.ebuild |
17 |
similarity index 80% |
18 |
rename from dev-libs/libretls/libretls-3.3.1.ebuild |
19 |
rename to dev-libs/libretls/libretls-3.3.1-r1.ebuild |
20 |
index a48c036a503..f014fafbf21 100644 |
21 |
--- a/dev-libs/libretls/libretls-3.3.1.ebuild |
22 |
+++ b/dev-libs/libretls/libretls-3.3.1-r1.ebuild |
23 |
@@ -3,6 +3,8 @@ |
24 |
|
25 |
EAPI=7 |
26 |
|
27 |
+inherit multilib-minimal |
28 |
+ |
29 |
DESCRIPTION="Port of libtls from LibreSSL to OpenSSL" |
30 |
HOMEPAGE="https://git.causal.agency/libretls/about/" |
31 |
SRC_URI="https://causal.agency/libretls/${P}.tar.gz" |
32 |
@@ -16,14 +18,15 @@ RDEPEND="${DEPEND} |
33 |
!dev-libs/libressl" |
34 |
BDEPEND="virtual/pkgconfig" |
35 |
|
36 |
-src_configure() { |
37 |
+multilib_src_configure() { |
38 |
local myconf=( |
39 |
--disable-static |
40 |
) |
41 |
- econf "${myconf[@]}" |
42 |
+ ECONF_SOURCE="${S}" econf \ |
43 |
+ "${myconf[@]}" |
44 |
} |
45 |
|
46 |
-src_install() { |
47 |
+multilib_src_install() { |
48 |
default |
49 |
find "${D}" -name '*.la' -delete || die |
50 |
} |