blob: d9f8d4aa9d51357eff1b268b0370eb33cca5f76e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: buildlink3.mk,v 1.7 2018/12/09 20:04:38 adam Exp $
BUILDLINK_TREE+= llvm
.if !defined(LLVM_BUILDLINK3_MK)
LLVM_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.llvm+= llvm>=7.0.0
BUILDLINK_PKGSRCDIR.llvm?= ../../lang/llvm
LLVM_CONFIG_PATH?= ${BUILDLINK_PREFIX.llvm}/bin/llvm-config
pkgbase := llvm
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.llvm:Mterminfo)
.include "../../mk/terminfo.buildlink3.mk"
.endif
.include "../../devel/zlib/buildlink3.mk"
.endif # LLVM_BUILDLINK3_MK
BUILDLINK_TREE+= -llvm
|