git: 593f5b29ef7c - releng/15.0 - static_libpam: Don't install pam.d.5 twice
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Nov 2025 19:37:25 UTC
The branch releng/15.0 has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=593f5b29ef7c79d09e39c2a32861d4ecdb9049ad
commit 593f5b29ef7c79d09e39c2a32861d4ecdb9049ad
Author: Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-11-01 13:38:26 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-11-05 19:36:18 +0000
static_libpam: Don't install pam.d.5 twice
static_libpam's Makefile includes libpam's Makefile after setting some
variables (like MAN) to empty to avoid installing the manpages twice.
After commit 031e711647c3, it neglected to do this for MANNODEVLINKS,
causing pam.d.5.gz to be installed twice. This is harmless for
installworld, but breaks some things that rely on METALOG (NO_ROOT
installs) since it causes two METALOG entries to be generated for
the same file.
Approved by: re (cperciva)
Fixes: 031e711647c3 ("packages: Install development manpages in the -dev package")
MFC after: 3 days
PR: 290708
Reported by: emaste
Reviewed by: emaste
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D53512
(cherry picked from commit a1806e6ff37a606277ab9657b951e918164e9f63)
(cherry picked from commit 92a081bc2d1ad2c06749d5fbcf31697db05a2001)
---
lib/libpam/static_libpam/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/libpam/static_libpam/Makefile b/lib/libpam/static_libpam/Makefile
index 8830f09ef0da..703e6a4a2f00 100644
--- a/lib/libpam/static_libpam/Makefile
+++ b/lib/libpam/static_libpam/Makefile
@@ -45,6 +45,7 @@ MAN=
MANNODEV=
INCS=
MLINKS=
+MANNODEVLINKS=
MK_TESTS= no
#