26 lines
798 B
Makefile
26 lines
798 B
Makefile
# $NetBSD: buildlink3.mk,v 1.6 2020/06/02 08:23:06 adam Exp $
|
|
|
|
BUILDLINK_TREE+= ocaml-lablgtk3
|
|
|
|
.if !defined(OCAML_LABLGTK3_BUILDLINK3_MK)
|
|
OCAML_LABLGTK3_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.ocaml-lablgtk3+= ocaml-lablgtk3>=3.0beta8
|
|
BUILDLINK_ABI_DEPENDS.ocaml-lablgtk3+= ocaml-lablgtk3>=3.1.0nb3
|
|
BUILDLINK_PKGSRCDIR.ocaml-lablgtk3?= ../../x11/ocaml-lablgtk3
|
|
|
|
# options must be exposed if and only if we built with them
|
|
pkgbase := ocaml-lablgtk3
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.ocaml-lablgtk3:Mgtkspell)
|
|
. include "../../textproc/gtkspell3/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.ocaml-lablgtk3:Mgtksourceview3)
|
|
. include "../../x11/gtksourceview3/buildlink3.mk"
|
|
.endif
|
|
|
|
.endif # OCAML_LABLGTK3_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -ocaml-lablgtk3
|