dev-libs/nss-pem: Fixed installation in multilib environment
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 12 Mar 2020 17:02:58 +0000 (18:02 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 12 Mar 2020 17:04:17 +0000 (18:04 +0100)
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>
dev-libs/nss-pem/nss-pem-1.0.5.ebuild

index 0364f65447a612e08b4cb0257dd7c83638d95d5b..8c408455b23d8cfbd6b4ee40b892e8c1c312ae57 100644 (file)
@@ -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
+}