aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/sbcl/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/sbcl/Makefile b/lang/sbcl/Makefile
index e1e6a24d81cf..31e6668aa075 100644
--- a/lang/sbcl/Makefile
+++ b/lang/sbcl/Makefile
@@ -23,8 +23,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:R}-source${SBCLPATCHLEVEL}
MAINTAINER= stas@FreeBSD.org
COMMENT= A Common Lisp development system derived from the CMU CL system
-BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
-
# More platforms are supported, but on Linux.
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= is a native code compiler, and has not been ported to this architecture yet
@@ -98,6 +96,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
IGNORE= does not build with threads, disable threads for now
.endif
+.if !defined(NOPORTDOCS) || !defined(WITHOUT_PDF) || !defined(WITHOUT_PS)
+BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
+.endif
+
.if !defined(WITHOUT_PDF)
BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base \
texi2dvi:${PORTSDIR}/print/texinfo