blob: 200b4f4c0d10a0372ee0650437732e272ddc145f (
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
32
33
34
35
|
# $NetBSD: buildlink3.mk,v 1.6 2012/09/13 10:17:14 sbd Exp $
BUILDLINK_TREE+= gcc47
.if !defined(GCC47_BUILDLINK3_MK)
GCC47_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.gcc47+= gcc47>=${_GCC_REQD}
BUILDLINK_ABI_DEPENDS.gcc47+= gcc47>=4.7.0
BUILDLINK_PKGSRCDIR.gcc47= ../../lang/gcc47
BUILDLINK_DEPMETHOD.gcc47?= build
FIND_PREFIX:= BUILDLINK_PREFIX.gcc47=gcc47
.include "../../mk/find-prefix.mk"
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_PREFIX.gcc47}/gcc47
BUILDLINK_FILES.gcc47= #empty
BUILDLINK_AUTO_VARS.gcc47= no
# Packages that link against shared libraries need a full dependency.
.if defined(_USE_GCC_SHLIB)
DEPENDS+= {gcc47,gcc47-libs}>=${_GCC_REQD}:../../lang/gcc47-libs
ABI_DEPENDS+= {gcc47,gcc47-libs}>=4.7.0:../../lang/gcc47-libs
.endif
pkgbase := gcc47
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.gcc47:Mgcc-java)
.include "../../devel/zlib/buildlink3.mk"
.endif
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.endif # GCC47_BUILDLINK3_MK
BUILDLINK_TREE+= -gcc47
|