Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / gcc3-c++ / buildlink3.mk
blobfcdf5741e055c184a4c032b40815a5d0e939b16c
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}
13 . endif
14 . endif
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
24 . else
25 BUILDLINK_DEPMETHOD.gcc3-cxx?= build
26 . endif
27 .endif # GCC3_CXX_BUILDLINK3_MK
29 BUILDLINK_TREE+= -gcc3-cxx