From: Ben Gras Date: Mon, 24 Nov 2014 12:54:36 +0000 (+0000) Subject: for pkgsrc without base clang from sambuc@ X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=refs%2Fchanges%2F01%2F2901%2F1;p=minix.git for pkgsrc without base clang from sambuc@ Change-Id: Id0bf33da426f6c7a14628846dd1185cdcdfac766 --- diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 284505d3c..0ce79e574 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -574,7 +574,11 @@ TOOL_CKSUM= cksum .if defined(__MINIX) # LSC: A full path has to be provided, as this is also, used as a make # target. +.if exists(/usr/pkg/bin/clang-tblgen) +TOOL_CLANG_TBLGEN= /usr/pkg/bin/clang-tblgen +.else TOOL_CLANG_TBLGEN= /usr/bin/clang-tblgen +.endif # exists(/usr/pkg/bin/clang-tblgen) .else TOOL_CLANG_TBLGEN= clang-tblgen .endif # defined(__MINIX) @@ -604,7 +608,11 @@ TOOL_JOIN= join .if defined(__MINIX) # LSC: A full path has to be provided, as this is also, used as a make # target. +.if exists(/usr/pkg/bin/llvm-tblgen) +TOOL_LLVM_TBLGEN= /usr/pkg/bin/llvm-tblgen +.else TOOL_LLVM_TBLGEN= /usr/bin/llvm-tblgen +.endif # exists(/usr/pkg/bin/llvm-tblgen) .else TOOL_LLVM_TBLGEN= llvm-tblgen .endif # defined(__MINIX)