summaryrefslogtreecommitdiffstats
path: root/devel/ocaml-react/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ocaml-react/Makefile')
-rw-r--r--devel/ocaml-react/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/ocaml-react/Makefile b/devel/ocaml-react/Makefile
index d76e40a..a21e86e 100644
--- a/devel/ocaml-react/Makefile
+++ b/devel/ocaml-react/Makefile
@@ -14,8 +14,13 @@ COMMENT= OCaml module for functional reactive programming
LICENSE= BSD3CLAUSE
+OPTIONS_DEFINE= X11
+
USE_OCAML= yes
-.if defined (WITHOUT_X11)
+
+.include <bsd.port.options.mk>
+
+.if empty(PORT_OPTIONS:MX11)
OCAMLC_DEPEND= ocaml-notk>=3.11:${OCAMLC_PORT}
.else
OCAMLC_DEPEND= ocaml>=3.11:${OCAMLC_PORT}
OpenPOWER on IntegriCloud