pkgsrc-wip/ocaml-lablgtk3/buildlink3.mk

26 lines
683 B
Makefile

# $NetBSD$
BUILDLINK_TREE+= ocaml-lablgtk3
.if !defined(OCAML_LABLGTK3_BUILDLINK3_MK)
OCAML_LABLGTK3_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml-lablgtk3+= ocaml-lablgtk3>=3.0beta6
BUILDLINK_PKGSRCDIR.ocaml-lablgtk3?= ../../wip/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