>=sys-libs/pam-1.7.0 depend app-text/docbook-xsl-ns-stylesheets dev-libs/libxslt all of them used by docs my custom overlay repo tested # diff -ur /var/db/repos/gentoo/sys-libs/pam/pam-1.7.1.ebuild pam-1.7.1-r100.ebuild --- /var/db/repos/gentoo/sys-libs/pam/pam-1.7.1.ebuild 2025-06-18 11:11:25.000000000 +0800 +++ pam-1.7.1-r100.ebuild 2025-06-21 12:30:18.066456966 +0800 @@ -35,16 +35,13 @@ LICENSE="|| ( BSD GPL-2 )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="alpha amd64 arm arm64 hppa loong m68k mips ppc ppc64 riscv s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="audit berkdb elogind examples debug nis nls selinux systemd" REQUIRED_USE="?? ( elogind systemd )" # meson.build specifically checks for bison and then byacc -# also requires xsltproc BDEPEND+=" || ( sys-devel/bison dev-util/byacc ) - app-text/docbook-xsl-ns-stylesheets - dev-libs/libxslt sys-devel/flex virtual/pkgconfig nls? ( sys-devel/gettext ) @@ -119,7 +116,7 @@ -Dhtmldir="${EPREFIX}"/usr/share/doc/${PF}/html -Dpdfdir="${EPREFIX}"/usr/share/doc/${PF}/pdf - $(meson_native_enabled docs) + -Ddocs=disabled -Dpam_unix=enabled
Bugs like this should come with some rationale / context too. See https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0305. If the Meson option covers man pages too, we will have to generate them in a tarball and include them I guess.
(In reply to Sam James from comment #1) > Bugs like this should come with some rationale / context too. > > See https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0305. > If the Meson option covers man pages too, we will have to generate them in a > tarball and include them I guess. My gentoo system is very small, so I pay attention to every package installed. After sys-libs/pam was upgraded to 1.7.0/1.7.1, app-text/docbook-xsl-ns-stylesheets and dev-libs/libxslt are added. If they are critical dependencies, I accepted them. However, upon testing, these dependencies are only for document. Many packages have USE=doc, so I think it's reasonable to add a USE=doc to sys-libs/pam.
Right. We just need to determine if they control man pages. If they do, we must pregenerate a tarball for them.