summaryrefslogtreecommitdiff
path: root/lang/gcc7/buildlink3.mk
blob: 54fec54fd1446bb6ec3e00b3c4bf56e785da25a9 (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
# $NetBSD: buildlink3.mk,v 1.3 2018/07/23 01:07:08 maya Exp $

BUILDLINK_TREE+=	gcc7

.if !defined(GCC7_BUILDLINK3_MK)
GCC6SNAPSHOT_BUILDLINK3_MK:=

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

BUILDLINK_PASSTHRU_DIRS+=	${BUILDLINK_PREFIX.gcc7}/gcc7

BUILDLINK_FILES.gcc7=		#empty
BUILDLINK_AUTO_VARS.gcc7=	no

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

pkgbase := gcc7
.include "../../mk/pkg-build-options.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.endif # gcc7_BUILDLINK3_MK
BUILDLINK_TREE+=	-gcc7