From e100a3724fef64a19a709dce45a92fbcf6a607e9 Mon Sep 17 00:00:00 2001 From: sjg Date: Fri, 16 May 2014 15:00:30 +0000 Subject: [PATCH] Suppress optional dependencies --- share/mk/local.gendirdeps.mk | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/share/mk/local.gendirdeps.mk b/share/mk/local.gendirdeps.mk index 28b589daf994..ff36d97a836e 100644 --- a/share/mk/local.gendirdeps.mk +++ b/share/mk/local.gendirdeps.mk @@ -3,7 +3,17 @@ GENDIRDEPS_FILTER+= \ Ngnu/lib/libssp/libssp_nonshared \ Ncddl/usr.bin/ctf* \ - Npkgs/pseudo/stage* + Nlib/clang/include \ + Nlib/libc_nonshared \ + Npkgs/pseudo/stage* \ + Ntools/* + +.if ${RELDIR:Mpkgs*} == "" +GENDIRDEPS_FILTER+= \ + Nusr.bin/clang/clang.host \ + Ngnu/usr.bin/cc* \ + +.endif # gendirdeps.mk will turn _{VAR} into ${VAR} which keeps this simple # order of this list matters!