aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-01-30 07:38:37 +0800
committerPav Lucistnik <pav@FreeBSD.org>2006-01-30 07:38:37 +0800
commite8043d2afdf6f1f2bc5b083613732d872c04f3e8 (patch)
tree67d7ef75b34ba76dfefe14c3389796270d250981
parent4553f0d1d039940b882b15c868b38efea21e99b7 (diff)
downloadfreebsd-ports-gnome-e8043d2afdf6f1f2bc5b083613732d872c04f3e8.tar.gz
freebsd-ports-gnome-e8043d2afdf6f1f2bc5b083613732d872c04f3e8.tar.zst
freebsd-ports-gnome-e8043d2afdf6f1f2bc5b083613732d872c04f3e8.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 | \