git: 227f47ce0c48 - main - libcompat: avoid installing include files twice

From: Ed Maste <>
Date: Thu, 17 Nov 2022 00:15:59 UTC
The branch main has been updated by emaste:


commit 227f47ce0c48acdb466366b136b8c522bb8937e0
Author:     Ed Maste <>
AuthorDate: 2022-11-17 00:12:18 +0000
Commit:     Ed Maste <>
CommitDate: 2022-11-17 00:15:20 +0000

    libcompat: avoid installing include files twice
    Previously some headers were getting installed twice, once as expected
    and then a second time as part of the compat32 library stage.
    Makefile.libcompat sets -DLIBRARIES_ONLY for the install make invocation
    which causes to skip headers.  However some headers are
    handled via, which does not use LIBRARIES_ONLY.  Explicitly
    set MK_INCLUDES=no.
    Reviewed by:    brooks
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:
 Makefile.libcompat | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.libcompat b/Makefile.libcompat
index c8a71225f802..5343b2e2480c 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
 			MK_MAN=no MK_HTML=no
+			MK_INCLUDES=no \
 _LC_LIBDIRS.yes=		lib