HomeFreeBSD

static_libpam: Don't install pam.d.5 twice

Description

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.

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

Details

Provenance
ivyAuthored on Nov 1 2025, 1:38 PM
Reviewer
emaste
Differential Revision
D53512: static_libpam: Don't install pam.d.5 twice
Parents
rGe4f2a3509554: bsd.prog.mk: Skip warnings if compiler.mk was not included
Branches
Unknown
Tags
Unknown