From 99e9e03701aa622fd9bfa6980165e0272dc43fe1 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 24 Nov 2014 12:54:36 +0000 Subject: [PATCH] for pkgsrc without base clang from sambuc@ Change-Id: Id0bf33da426f6c7a14628846dd1185cdcdfac766 --- share/mk/bsd.own.mk | 8 ++++++++ 1 file changed, 8 insertions(+) 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) -- 2.44.0