summaryrefslogtreecommitdiffstats
path: root/math/coq/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/coq/Makefile')
-rw-r--r--math/coq/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/coq/Makefile b/math/coq/Makefile
index 716fb7b..096ba4d 100644
--- a/math/coq/Makefile
+++ b/math/coq/Makefile
@@ -17,6 +17,8 @@ COMMENT= Theorem prover based on lambda-C
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
USE_GMAKE= yes
+ALL_TARGET= world
+WITH_IDE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix ${PREFIX}
@@ -24,8 +26,6 @@ CONFIGURE_ARGS+= --emacslib ${PREFIX}/share/emacs/site-lisp
CONFIGURE_ARGS+= --reals all
CONFIGURE_ARGS+= --opt
-ALL_TARGET= world
-
PORTDOCS= CHANGES COPYRIGHT CREDITS INSTALL LICENSE README
.include <bsd.port.pre.mk>
@@ -34,7 +34,7 @@ PORTDOCS= CHANGES COPYRIGHT CREDITS INSTALL LICENSE README
BROKEN= "OCaml bug prevents compilation"
.endif
-.if exists(${LOCALBASE}/bin/lablgtk2)
+.if defined(WITH_IDE) || exists(${LOCALBASE}/bin/lablgtk2)
BUILD_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
RUN_DEPENDS+= ${BUILD_DEPENDS}
PLIST_SUB+= IDE=""
OpenPOWER on IntegriCloud