aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2011-07-14 03:13:29 +0800
committerstas <stas@FreeBSD.org>2011-07-14 03:13:29 +0800
commitd11e62db741237c3a454c49d92e4a324fc5eed4d (patch)
tree7a2f04ddc58cefdbf4d0f724ef6cf9fbcc729e5b /lang
parent0241ccf97495ee0a89ded5d2247480be0c9520ab (diff)
downloadfreebsd-ports-gnome-d11e62db741237c3a454c49d92e4a324fc5eed4d.tar.gz
freebsd-ports-gnome-d11e62db741237c3a454c49d92e4a324fc5eed4d.tar.zst
freebsd-ports-gnome-d11e62db741237c3a454c49d92e4a324fc5eed4d.zip
- Graphviz is not required for the build if all the documentation is disabled.
PR: ports/158723 Submitted by: Quentin Stievenart <acieroid@awesom.eu>
Diffstat (limited to 'lang')
-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