summaryrefslogtreecommitdiff
path: root/lang/gcc6/buildlink3.mk
blob: 4dcc31c3cc2f0aa0b4af5745776a731066373964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: buildlink3.mk,v 1.1 2016/09/12 22:13:54 maya Exp $

BUILDLINK_TREE+=	gcc6

.if !defined(GCC6_BUILDLINK3_MK)
GCC6_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.gcc6+=	gcc6>=${_GCC_REQD}
BUILDLINK_ABI_DEPENDS.gcc6+=	gcc6>=6.1
BUILDLINK_PKGSRCDIR.gcc6=	../../lang/gcc6
BUILDLINK_DEPMETHOD.gcc6?=	build

BUILDLINK_FILES.gcc6=		#empty
BUILDLINK_AUTO_VARS.gcc6=	no

# Packages that link against shared libraries need a full dependency.
#.if defined(_USE_GCC_SHLIB)
#DEPENDS+=	{gcc6, gcc6-libs}>=${_GCC_REQD}:../../lang/gcc6-libs
#ABI_DEPENDS+=	{gcc6,gcc6-libs}>=6.0:../../lang/gcc6-libs
#.endif

pkgbase := gcc6
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.gcc6:Mgcc-java)
.include "../../devel/zlib/buildlink3.mk"
.endif

.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.endif # GCC6_BUILDLINK3_MK
BUILDLINK_TREE+=	-gcc6