25 lines
602 B
Makefile
25 lines
602 B
Makefile
# $NetBSD: buildlink3.mk,v 1.16 2022/06/28 11:34:10 wiz Exp $
|
|
|
|
BUILDLINK_TREE+= erlang
|
|
|
|
.if !defined(ERLANG_BUILDLINK3_MK)
|
|
ERLANG_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.erlang+= erlang>=10.1
|
|
BUILDLINK_ABI_DEPENDS.erlang+= erlang>=23.3.4nb2
|
|
BUILDLINK_PKGSRCDIR.erlang?= ../../lang/erlang
|
|
|
|
pkgbase := erlang
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
.if ${PKG_BUILD_OPTIONS.erlang:Miodbc}
|
|
. include "../../databases/iodbc/buildlink3.mk"
|
|
.endif
|
|
|
|
.if ${PKG_BUILD_OPTIONS.erlang:Munixodbc}
|
|
. include "../../databases/unixodbc/buildlink3.mk"
|
|
.endif
|
|
|
|
.endif # ERLANG_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -erlang
|