pkgsrc/lang/erlang21/buildlink3.mk
jperkin 5e76b18444 erlang21: Re-import erlang version 21.3.
This is a copy of the previous lang/erlang of that release, with a few bits
tidied up, and configured to live alongside the newer lang/erlang package by
using a versioned library directory.

This version is required for at least databases/couchdb, and may be required
for other software that is incompatible with OTP 23.
2021-01-27 16:13:51 +00:00

25 lines
625 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1 2021/01/27 16:13:51 jperkin Exp $
BUILDLINK_TREE+= erlang21
.if !defined(ERLANG21_BUILDLINK3_MK)
ERLANG21_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.erlang21+= erlang21>=21
BUILDLINK_ABI_DEPENDS.erlang21+= erlang21>=21
BUILDLINK_PKGSRCDIR.erlang21?= ../../lang/erlang21
pkgbase := erlang21
.include "../../mk/pkg-build-options.mk"
.if ${PKG_BUILD_OPTIONS.erlang21:Miodbc}
. include "../../databases/iodbc/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.erlang21:Munixodbc}
. include "../../databases/unixodbc/buildlink3.mk"
.endif
.endif # ERLANG21_BUILDLINK3_MK
BUILDLINK_TREE+= -erlang21