sys-libs/pam: Add prefix support
authorMikle Kolyada <zlogene@gentoo.org>
Thu, 12 Mar 2020 16:07:51 +0000 (19:07 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Thu, 12 Mar 2020 16:12:16 +0000 (19:12 +0300)
Closes: https://bugs.gentoo.org/709924
Closes: https://bugs.gentoo.org/699188
Closes: https://bugs.gentoo.org/699526
Bug: https://bugs.gentoo.org/695966
Thanks-to: Benda Xu <heroxbd@gentoo.org>
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
sys-libs/pam/pam-1.3.1_p20200128.ebuild

index b72c1136076331f4b89e28bf7f11273a82489085..fca700457b033173795f7a53ca7622414e461c83 100644 (file)
@@ -59,8 +59,10 @@ multilib_src_configure() {
 
        local myconf=(
                --with-db-uniquename=-$(db_findver sys-libs/db)
+               --with-xml-catalog="${EPREFIX}"/etc/xml/catalog
                --enable-securedir="${EPREFIX}"/$(get_libdir)/security
-               --libdir=/usr/$(get_libdir)
+               --libdir="${EPREFIX}"/usr/$(get_libdir)
+               --exec-prefix="${EPREFIX}"
                --disable-prelude
                --enable-doc
                $(use_enable audit)