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

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

Revision 1.1, Wed Sep 2 16:11:28 2020 UTC (7 weeks, 2 days ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD

gcc9: Add buidlink3.mk to select GCC with GCC_REQD

* And for gcc9-libs, introduce version.mk.
* A part of PR pkg/55637.

# $NetBSD: buildlink3.mk,v 1.1 2020/09/02 16:11:28 ryoon Exp $

BUILDLINK_TREE+=	gcc9

.if !defined(GCC9_BUILDLINK3_MK)
GCC9_BUILDLINK3_MK:=

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

BUILDLINK_PASSTHRU_DIRS+=	${BUILDLINK_PREFIX.gcc9}/gcc9

BUILDLINK_FILES.gcc9=		# empty
BUILDLINK_AUTO_VARS.gcc9=	no

pkgbase := gcc9
.include "../../mk/pkg-build-options.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.endif

BUILDLINK_TREE+=	-gcc9