summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-03-12 18:02:58 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-03-12 18:04:17 +0100
commit756e6ca788ec65b8b43ce412b324b27d28a78419 (patch)
tree860bbb38f3ba8007e3f4b92573d20fe064d5dd80
parentsys-kernel/gentoo-sources: Linux patch 5.4.25 (diff)
downloadgentoo-756e6ca788ec65b8b43ce412b324b27d28a78419.tar.gz
gentoo-756e6ca788ec65b8b43ce412b324b27d28a78419.tar.bz2
gentoo-756e6ca788ec65b8b43ce412b324b27d28a78419.zip
dev-libs/nss-pem: Fixed installation in multilib environment
Closes: https://bugs.gentoo.org/712258 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--dev-libs/nss-pem/nss-pem-1.0.5.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-libs/nss-pem/nss-pem-1.0.5.ebuild b/dev-libs/nss-pem/nss-pem-1.0.5.ebuild
index 0364f65447a6..8c408455b23d 100644
--- a/dev-libs/nss-pem/nss-pem-1.0.5.ebuild
+++ b/dev-libs/nss-pem/nss-pem-1.0.5.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+CMAKE_ECLASS="cmake"
+
inherit cmake-multilib
DESCRIPTION="PEM file reader for Network Security Services (NSS)"
@@ -21,3 +23,10 @@ DEPEND="!<=dev-libs/nss-3.50
${RDEPEND}"
S="${WORKDIR}/${P}/src"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DLIB_INSTALL_DIR="$(get_libdir)"
+ )
+ cmake_src_configure
+}