Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / gcc3-f77 / buildlink3.mk
blobc2510a940f6a0ab6a07645b6266d17dc6597c249
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-f77
7 .if !defined(GCC3_F77_BUILDLINK3_MK)
8 GCC3_F77_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-f77+= gcc3${GCC3_PKGMODIF}-f77>=${_GCC_REQD}
16 BUILDLINK_ABI_DEPENDS.gcc3-f77+= gcc3-f77>=3.3.5nb2
17 BUILDLINK_PKGSRCDIR.gcc3-f77?= ../../lang/gcc3-f77
18 BUILDLINK_LIBDIRS.gcc3-f77?= \
19 lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3-f77}\///}
21 # Packages that link against shared libraries need a full dependency.
22 . if defined(_USE_GCC_SHLIB)
23 BUILDLINK_DEPMETHOD.gcc3-f77+= full
24 . else
25 BUILDLINK_DEPMETHOD.gcc3-f77?= build
26 . endif
27 .endif # GCC3_F77_BUILDLINK3_MK
29 BUILDLINK_TREE+= -gcc3-f77