2018-01-07 14:03:53 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.21 2018/01/07 13:04:18 rillig Exp $
|
2004-02-01 15:05:46 +01:00
|
|
|
|
2006-12-12 22:52:34 +01:00
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
2004-02-01 15:05:46 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= gcc3-f77
|
2004-02-05 04:45:13 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(GCC3_F77_BUILDLINK3_MK)
|
|
|
|
GCC3_F77_BUILDLINK3_MK:=
|
2004-03-05 20:25:06 +01:00
|
|
|
|
2018-01-07 14:03:53 +01:00
|
|
|
.if defined(GCC3_INSTALLTO_SUBPREFIX)
|
|
|
|
. if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3"
|
|
|
|
GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX}
|
2004-02-01 15:05:46 +01:00
|
|
|
. endif
|
2018-01-07 14:03:53 +01:00
|
|
|
.endif
|
2014-09-06 10:20:28 +02:00
|
|
|
BUILDLINK_API_DEPENDS.gcc3-f77+= gcc3${GCC3_PKGMODIF}-f77>=3.0
|
2012-05-07 03:53:12 +02:00
|
|
|
BUILDLINK_ABI_DEPENDS.gcc3-f77+= gcc3-f77>=3.3.5nb2
|
2018-01-07 14:03:53 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.gcc3-f77?= ../../lang/gcc3-f77
|
2004-03-18 05:19:39 +01:00
|
|
|
BUILDLINK_LIBDIRS.gcc3-f77?= \
|
|
|
|
lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3-f77}\///}
|
2004-02-01 15:05:46 +01:00
|
|
|
|
|
|
|
# Packages that link against shared libraries need a full dependency.
|
2018-01-07 14:03:53 +01:00
|
|
|
.if defined(_USE_GCC_SHLIB)
|
2004-03-18 05:19:39 +01:00
|
|
|
BUILDLINK_DEPMETHOD.gcc3-f77+= full
|
2018-01-07 14:03:53 +01:00
|
|
|
.else
|
2004-03-18 05:19:39 +01:00
|
|
|
BUILDLINK_DEPMETHOD.gcc3-f77?= build
|
2018-01-07 14:03:53 +01:00
|
|
|
.endif
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # GCC3_F77_BUILDLINK3_MK
|
2004-02-01 15:05:46 +01:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -gcc3-f77
|