1 # $NetBSD: buildlink3.mk,v 1.18 2009/03/20 19:24:49 joerg Exp $
3 .
include "../../mk/bsd.fast.prefs.mk"
5 BUILDLINK_TREE
+= gcc3-cxx
7 .if
!defined
(GCC3_CXX_BUILDLINK3_MK
)
8 GCC3_CXX_BUILDLINK3_MK
:=
10 . if defined
(GCC3_INSTALLTO_SUBPREFIX
)
11 . if
${GCC3_INSTALLTO_SUBPREFIX} != "gcc3"
12 GCC3_PKGMODIF
= _
${GCC3_INSTALLTO_SUBPREFIX}
15 BUILDLINK_API_DEPENDS.gcc3-cxx
+= gcc3
${GCC3_PKGMODIF}-c
++>=${_GCC_REQD}
16 BUILDLINK_ABI_DEPENDS.gcc3-cxx
+= gcc3-c
++>=3.3.5nb1
17 BUILDLINK_PKGSRCDIR.gcc3-cxx?
= ..
/..
/lang
/gcc3-c
++
18 BUILDLINK_LIBDIRS.gcc3-cxx?
= \
19 lib
${_GCC_ARCHDIR
:S
/^
${BUILDLINK_PREFIX.gcc3-cxx
}\
///}
21 # Packages that link against shared libraries need a full dependency.
22 . if defined
(_USE_GCC_SHLIB
)
23 BUILDLINK_DEPMETHOD.gcc3-cxx
+= full
25 BUILDLINK_DEPMETHOD.gcc3-cxx?
= build
27 .
endif # GCC3_CXX_BUILDLINK3_MK
29 BUILDLINK_TREE
+= -gcc3-cxx