summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-03-18 17:24:26 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-03-18 17:24:26 +0100
commitde715cbe1562643b3a47a34b1e45e04638e8e089 (patch)
tree581a559e9bd473f70c5ad89805ab056d02fa062c /net-libs
parentnet-libs/libpsl: Initial commit (diff)
downloadgentoo-de715cbe1562643b3a47a34b1e45e04638e8e089.tar.gz
gentoo-de715cbe1562643b3a47a34b1e45e04638e8e089.tar.bz2
gentoo-de715cbe1562643b3a47a34b1e45e04638e8e089.zip
net-libs/libpsl: Added multilib support.
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libpsl/libpsl-0.20.2.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/net-libs/libpsl/libpsl-0.20.2.ebuild b/net-libs/libpsl/libpsl-0.20.2.ebuild
index 4873768c0635..13d871a3273b 100644
--- a/net-libs/libpsl/libpsl-0.20.2.ebuild
+++ b/net-libs/libpsl/libpsl-0.20.2.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit multilib-minimal
+
DESCRIPTION="C library for the Public Suffix List"
HOMEPAGE="https://github.com/rockdaboot/libpsl"
SRC_URI="https://github.com/rockdaboot/${PN}/releases/download/${P}/${P}.tar.gz"
@@ -15,10 +17,10 @@ IUSE="icu +idn +man"
REQUIRED_USE="^^ ( icu idn )"
RDEPEND="
- icu? ( dev-libs/icu:= )
+ icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] )
idn? (
- dev-libs/libunistring
- net-dns/libidn2:=
+ dev-libs/libunistring[${MULTILIB_USEDEP}]
+ net-dns/libidn2:=[${MULTILIB_USEDEP}]
)
"
@@ -32,7 +34,7 @@ BDEPEND="
man? ( dev-libs/libxslt )
"
-src_configure() {
+multilib_src_configure() {
local myeconfargs=(
--enable-ubsan
--disable-asan
@@ -57,10 +59,10 @@ src_configure() {
myeconfargs+=( --disable-runtime )
fi
- econf "${myeconfargs[@]}"
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
-src_install() {
+multilib_src_install() {
default
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die