2e37a0fa27
Decouple the package from lang/clang that so it can be maintained and updated independently. This switches the build framework from autoconf to cmake. There are no significant changes to the AMDGPU target mentioned in the release notes. Other changes are not relevant to mention here since mesa is the only user of this package in pkgsrc proper.
18 lines
507 B
Makefile
18 lines
507 B
Makefile
# $NetBSD: buildlink3.mk,v 1.4 2016/03/08 21:06:50 tnn Exp $
|
|
|
|
BUILDLINK_TREE+= libLLVM
|
|
|
|
.if !defined(LIBLLVM_BUILDLINK3_MK)
|
|
LIBLLVM_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.libLLVM+= libLLVM>=3.8.0
|
|
BUILDLINK_PKGSRCDIR.libLLVM?= ../../lang/libLLVM
|
|
BUILDLINK_INCDIRS.libLLVM?= include/libLLVM
|
|
BUILDLINK_LIBDIRS.libLLVM?= lib/libLLVM
|
|
|
|
LLVM_CONFIG_PATH?= ${BUILDLINK_PREFIX.libLLVM}/libexec/libLLVM/llvm-config
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.endif # LIBLLVM_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -libLLVM
|