[BACK]Return to buildlink3.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / gcc6

File: [cvs.NetBSD.org] / pkgsrc / lang / gcc6 / buildlink3.mk (download)

Revision 1.3, Mon Jul 23 01:07:08 2018 UTC (22 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, HEAD
Changes since 1.2: +3 -1 lines

gcc{6,7,8}: passthru the gcc directories.
helps using gfortran.

# $NetBSD: buildlink3.mk,v 1.3 2018/07/23 01:07:08 maya Exp $

BUILDLINK_TREE+=	gcc6

.if !defined(GCC6_BUILDLINK3_MK)
GCC6_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.gcc6+=	gcc6>=${_GCC_REQD}
BUILDLINK_ABI_DEPENDS.gcc6+=	gcc6>=6.1
BUILDLINK_PKGSRCDIR.gcc6=	../../lang/gcc6
BUILDLINK_DEPMETHOD.gcc6?=	build

BUILDLINK_PASSTHRU_DIRS+=	${BUILDLINK_PREFIX.gcc6}/gcc6

BUILDLINK_FILES.gcc6=		#empty
BUILDLINK_AUTO_VARS.gcc6=	no

# Packages that link against shared libraries need a full dependency.
#.if defined(_USE_GCC_SHLIB)
#DEPENDS+=	{gcc6, gcc6-libs}>=${_GCC_REQD}:../../lang/gcc6-libs
#ABI_DEPENDS+=	{gcc6,gcc6-libs}>=6.0:../../lang/gcc6-libs
#.endif

pkgbase := gcc6
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.gcc6:Mgcc-java)
.include "../../devel/zlib/buildlink3.mk"
.endif

.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.endif # GCC6_BUILDLINK3_MK

BUILDLINK_TREE+=	-gcc6