aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-03-03 04:11:13 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-03-03 04:11:13 +0000
commit7430fa2c50148da04a4693931a3f2e3ba0f66313 (patch)
tree0435d21d3012925fd9da4d07bb8f883a4796b0f2 /irc
parent0b0ebb3eaac6d19b720209685c8a58c9414fba6c (diff)
downloadports-7430fa2c50148da04a4693931a3f2e3ba0f66313.tar.gz
ports-7430fa2c50148da04a4693931a3f2e3ba0f66313.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/xchat/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile
index 0373e09c5e73..9cc579590788 100644
--- a/irc/xchat/Makefile
+++ b/irc/xchat/Makefile
@@ -96,12 +96,13 @@ PLIST_SUB+= PYTHON="@comment "
.endif
.if defined(WITH_TCL)
-LIB_DEPENDS+= tcl84.1:${PORTSDIR}/lang/tcl84
-CONFIGURE_ARGS+=--enable-tcl=${LOCALBASE}/lib/tcl8.4
+USE_TCL= 84+
+.include "${PORTSDIR}/Mk/bsd.tcl.mk"
+CONFIGURE_ARGS+=--enable-tcl=${TCL_LIBDIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
- -I${LOCALBASE}/include/tcl8.4" \
+ -I${TCL_INCLUDEDIR}" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} \
- -L${LOCALBASE}/lib/tcl8.4"
+ -L${TCL_LIBDIR}"
PLIST_SUB+= TCL=""
.else
CONFIGURE_ARGS+=--enable-tcl=no