pkgsrc/lang/gcc9/buildlink3.mk
ryoon d1cec0821a gcc9: Add buidlink3.mk to select GCC with GCC_REQD
* And for gcc9-libs, introduce version.mk.
* A part of PR pkg/55637.
2020-09-02 16:11:28 +00:00

24 lines
594 B
Makefile

# $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