aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/ocaml-findlib/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/ocaml-findlib/Makefile b/devel/ocaml-findlib/Makefile
index bb89b34a60d9..d9fb025c2d5e 100644
--- a/devel/ocaml-findlib/Makefile
+++ b/devel/ocaml-findlib/Makefile
@@ -27,7 +27,11 @@ MAN1= ocamlfind.1
MAN5= META.5 findlib.conf.5 site-lib.5
# this list comes from the findlib configure script
-OCAML_DIRS= dbm dynlink graphics num num-top str threads unix stdlib bigarray labltk camlp4
+OCAML_DIRS= dbm dynlink graphics num num-top str threads unix stdlib bigarray camlp4
+
+.if !defined(WITHOUT_X11)
+OCAML_DIRS+= labltk
+.endif
post-install:
@${FIND} ${PREFIX}/lib/ocaml/site-lib/findlib -type f | \