aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-03-29 15:53:21 +0800
committerdinoex <dinoex@FreeBSD.org>2013-03-29 15:53:21 +0800
commitf3200ba3e2db6bfad5dfaf873131cc6f933a8e92 (patch)
tree2c7bbb0a8164b18bf9c510877643d0605f9ba973
parent41a4091e58884073247e0bd59cfc246c559a1ed1 (diff)
downloadfreebsd-ports-gnome-f3200ba3e2db6bfad5dfaf873131cc6f933a8e92.tar.gz
freebsd-ports-gnome-f3200ba3e2db6bfad5dfaf873131cc6f933a8e92.tar.zst
freebsd-ports-gnome-f3200ba3e2db6bfad5dfaf873131cc6f933a8e92.zip
- ensure tcl is not picked up when deselected
Submitted by: Super Bisquit
-rw-r--r--graphics/graphviz/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index a6952a6586c4..f4feb9d3396f 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -125,10 +125,12 @@ PLIST_SUB+= WITH_TK="@comment "
CPPFLAGS+= -I${TCL_INCLUDEDIR}
USE_TCL_BUILD= 84+
.include "${PORTSDIR}/Mk/bsd.tcl.mk"
-CONFIGURE_ARGS+= --with-tclsh=${TCLSH}
+CONFIGURE_ARGS+= --with-tclsh=${TCLSH} --enable-tcl=yes
CONFIGURE_ENV+= TCLCONFIG="${TCL_LIBDIR}/tclConfig.sh"
MAN3+= gdtclft.3tcl tcldot.3tcl
PLIST_SUB+= TCL_VER="${TCL_VER}"
+.else
+CONFIGURE_ARGS+= --enable-tcl=no
.endif
.if ${PORT_OPTIONS:MICONV}