mono: Make sure mono6 is pulled in on NetBSD.

This commit is contained in:
nia 2020-01-22 21:31:00 +00:00
parent 632583c9bd
commit a8eb78d4a1

View file

@ -1,13 +1,21 @@
# $NetBSD: buildlink3.mk,v 1.62 2019/04/03 00:32:49 ryoon Exp $
# $NetBSD: buildlink3.mk,v 1.63 2020/01/22 21:31:00 nia Exp $
BUILDLINK_TREE+= mono
.if !defined(MONO_BUILDLINK3_MK)
MONO_BUILDLINK3_MK:=
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "NetBSD"
BUILDLINK_API_DEPENDS.mono+= mono>=6
BUILDLINK_ABI_DEPENDS.mono?= mono>=6
BUILDLINK_PKGSRCDIR.mono?= ../../lang/mono6
.else
BUILDLINK_API_DEPENDS.mono+= mono>=4
BUILDLINK_ABI_DEPENDS.mono?= mono>=4.0.4.1nb15
BUILDLINK_PKGSRCDIR.mono?= ../../lang/mono
.endif
ALL_ENV+= MONO_SHARED_DIR=${WRKDIR}
BUILDLINK_CONTENTS_FILTER.mono= ${EGREP} '(^include/|^lib/)'