bsd.lib.mk: Do not include bsd.incs.mk for INTERNALLIB

If we're building an internal lib do not bother including bsd.incs.mk so we
will not install the headers.
This also "solves" a problem with pkgbase where a libXXX-development package
is created and due to how packages are created we add a dependency to a
libXXX package that doesn't exists.

Reported by:	pizzamig
Reviewed by:	pizzamig bapt emaste
Differential Revision:	https://reviews.freebsd.org/D24166
This commit is contained in:
Emmanuel Vadot 2020-03-24 01:09:04 +00:00
parent 9d7c39d873
commit 1c93dede42
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359267
2 changed files with 8 additions and 0 deletions

View file

@ -36,6 +36,11 @@
# xargs -n1 | sort | uniq -d;
# done
# 20200323: INTERNALLIB don't install headers anymore
OLD_FILES+=/usr/include/libelftc.h
OLD_FILES+=/usr/include/libifconfig.h
OLD_FILES+=/usr/include/libpmcstat.h
# 20200320: cx and ctau drivers retired
OLD_FILES+=usr/share/man/man4/ctau.4.gz
OLD_FILES+=usr/share/man/man4/cx.4.gz

View file

@ -489,8 +489,11 @@ _libinstall:
.include <bsd.nls.mk>
.include <bsd.confs.mk>
.include <bsd.files.mk>
#No need to install header for INTERNALLIB
.if !defined(INTERNALLIB)
.include <bsd.incs.mk>
.endif
.endif
LINKOWN?= ${LIBOWN}
LINKGRP?= ${LIBGRP}