# $NetBSD: options.mk,v 1.1 2019/07/01 16:01:36 jaapb Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ocaml-conduit PKG_SUPPORTED_OPTIONS= async lwt PKG_SUGGESTED_OPTIONS= .include "../../mk/bsd.prefs.mk" .include "../../mk/bsd.options.mk" PLIST_VARS+= async lwt ### ### async support ### .if !empty(PKG_OPTIONS:Masync) .include "../../devel/ocaml-async/buildlink3.mk" DUNE_BUILD_PACKAGES+= conduit-async OPAM_INSTALL_FILES+= conduit-async PLIST.async= yes .endif ### ### lwt support ### .if !empty(PKG_OPTIONS:Mlwt) .include "../../devel/ocaml-lwt/buildlink3.mk" DUNE_BUILD_PACKAGES+= conduit-lwt conduit-lwt-unix OPAM_INSTALL_FILES+= conduit-lwt conduit-lwt-unix PLIST.lwt= yes .endif