summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-10-01 07:12:34 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-10-01 07:12:34 +0000
commit1b321c8b7c822b0b199ab1fddf1f33cb519ac8d9 (patch)
treeab67dc7ccbbc29ac7f096eaa70fb506a5209c5b1 /lang
parent- Convert to USES+=tk (diff)
- Convert to USES+=tk
Notes
Notes: svn path=/head/; revision=328926
Diffstat (limited to 'lang')
-rw-r--r--lang/otcl/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/otcl/Makefile b/lang/otcl/Makefile
index bdc0ee33e632..cb7b78ef8f9d 100644
--- a/lang/otcl/Makefile
+++ b/lang/otcl/Makefile
@@ -14,7 +14,7 @@ LICENSE= MIT
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_TK= 84+
+USES+= tk
USE_XORG= xext
USE_AUTOTOOLS= autoconf
@@ -31,9 +31,9 @@ NO_STAGE= yes
.include <bsd.port.pre.mk>
CFLAGS+= -DHAVE_UNISTD_H
-CONFIGURE_ARGS+= --with-tcl-ver=${TCL_VER} --with-tk-ver=${TK_VER}
+CONFIGURE_ARGS+=--with-tcl-ver=${TCL_SHLIB_VER} --with-tk-ver=${TK_SHLIB_VER}
-.if ${USE_TCL} > 85
+.if ${TCL_SHLIB_VER} > 85
CFLAGS+= -DUSE_INTERP_ERRORLINE -DUSE_INTERP_RESULT
.endif