aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-01-30 07:38:37 +0800
committerpav <pav@FreeBSD.org>2006-01-30 07:38:37 +0800
commitbd3306a54d9b316b2c1c7f31b2fd59bac29bb3ae (patch)
treec541a1c0503080a9df08e5beb9628e6bc460f6cc
parentc74004a172c078afb73b1e02f51682116f396308 (diff)
downloadfreebsd-ports-gnome-bd3306a54d9b316b2c1c7f31b2fd59bac29bb3ae.tar.gz
freebsd-ports-gnome-bd3306a54d9b316b2c1c7f31b2fd59bac29bb3ae.tar.zst
freebsd-ports-gnome-bd3306a54d9b316b2c1c7f31b2fd59bac29bb3ae.zip
- Support WITHOUT_X11
PR: ports/92502 Submitted by: Stephane Legrand <stephane@freebsd.org> (maintainer)
-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 | \