commit: a8acfbd004779b708560758421e61af96b4fbca0
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 23 04:45:52 2026 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Jan 23 04:48:45 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8acfbd0
sys-apps/man-pages: fix compile and test phases
Instead of doing everthing in the install phase, build the default
target in src_compile.
Make sure we pass "-R" to make to avoid a landmine planted in GNUMakefile.
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
sys-apps/man-pages/man-pages-6.16.ebuild | 12 +++++++++---
sys-apps/man-pages/man-pages-9999.ebuild | 12 +++++++++---
2 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/sys-apps/man-pages/man-pages-6.16.ebuild
b/sys-apps/man-pages/man-pages-6.16.ebuild
index 165d7ec50887..18839b4197aa 100644
--- a/sys-apps/man-pages/man-pages-6.16.ebuild
+++ b/sys-apps/man-pages/man-pages-6.16.ebuild
@@ -106,16 +106,22 @@ src_prepare() {
rm man5/passwd.5 || die
}
-src_compile() { :; }
+src_configure() {
+ export prefix="${EPREFIX}/usr"
+}
+
+src_compile() {
+ emake -R
+}
src_test() {
# We don't use the 'check' target right now because of known errors
#
https://lore.kernel.org/linux-man/[email protected]/T/#t
- emake lint-man-tbl
+ emake -R lint-man-tbl
}
src_install() {
- emake -R install prefix="${EPREFIX}"/usr DESTDIR="${D}"
+ emake -R DESTDIR="${D}" install
dodoc README Changes*
# Override with Gentoo specific or additional Gentoo pages
diff --git a/sys-apps/man-pages/man-pages-9999.ebuild
b/sys-apps/man-pages/man-pages-9999.ebuild
index 165d7ec50887..18839b4197aa 100644
--- a/sys-apps/man-pages/man-pages-9999.ebuild
+++ b/sys-apps/man-pages/man-pages-9999.ebuild
@@ -106,16 +106,22 @@ src_prepare() {
rm man5/passwd.5 || die
}
-src_compile() { :; }
+src_configure() {
+ export prefix="${EPREFIX}/usr"
+}
+
+src_compile() {
+ emake -R
+}
src_test() {
# We don't use the 'check' target right now because of known errors
#
https://lore.kernel.org/linux-man/[email protected]/T/#t
- emake lint-man-tbl
+ emake -R lint-man-tbl
}
src_install() {
- emake -R install prefix="${EPREFIX}"/usr DESTDIR="${D}"
+ emake -R DESTDIR="${D}" install
dodoc README Changes*
# Override with Gentoo specific or additional Gentoo pages