From dbe14047ddaa3cdfefdbb2d45f8ae5317870b45d Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 24 Jun 2016 18:45:16 +0000 Subject: [PATCH] bsd.prog.mk: add "/usr/lib" to list of base system directories kgzldr.o is installed into /usr/lib but using bsd.prog.mk. Add /usr/lib to the base system directory list so that debug files are installed into /usr/lib/debug/usr/lib, not /usr/lib/.debug . Approved by: re (gjb) MFC after: 1 week Sponsored by: The FreeBSD Foundation --- share/mk/bsd.prog.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 9dbe325a4336..deb78a3ded89 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -66,7 +66,8 @@ PROG_FULL=${PROG}.full ${BINDIR} == "/bin" ||\ ${BINDIR:C%/libexec(/.*)?%/libexec%} == "/libexec" ||\ ${BINDIR} == "/sbin" ||\ - ${BINDIR:C%/usr/(bin|bsdinstall|libexec|lpr|sendmail|sm.bin|sbin|tests)(/.*)?%/usr/bin%} == "/usr/bin"\ + ${BINDIR:C%/usr/(bin|bsdinstall|libexec|lpr|sendmail|sm.bin|sbin|tests)(/.*)?%/usr/bin%} == "/usr/bin" ||\ + ${BINDIR} == "/usr/lib" \ ) DEBUGFILEDIR= ${DEBUGDIR}${BINDIR} .else