summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.lib.mk
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-11-19 06:45:44 +0000
committerru <ru@FreeBSD.org>2005-11-19 06:45:44 +0000
commit93ebc2479ab2d52b448b71117009357e91166571 (patch)
treebb370e40e0c7c1ab0f22e1dbf77b3d38321b1482 /share/mk/bsd.lib.mk
parentd7ead39c6503e28aa3a048ddebe9985e56db66a0 (diff)
downloadFreeBSD-src-93ebc2479ab2d52b448b71117009357e91166571.zip
FreeBSD-src-93ebc2479ab2d52b448b71117009357e91166571.tar.gz
Add the NO_INCS knob to bsd.prog.mk and bsd.lib.mk to not include
bsd.incs.mk, and use it when installing 32-bit compat libraries on amd64. This causes it to *not* overwrite native headers with i386 versions, which was the case with <fenv.h> and <vgl.h>. PR: amd64/83806 Prodded by: bde MFC after: 1 week
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r--share/mk/bsd.lib.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index c60c133..71e474a 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -244,7 +244,9 @@ _libinstall:
.include <bsd.nls.mk>
.include <bsd.files.mk>
+.if !defined(NO_INCS)
.include <bsd.incs.mk>
+.endif
.include <bsd.links.mk>
.if !defined(NO_MAN)
OpenPOWER on IntegriCloud