diff options
author | gahr <gahr@FreeBSD.org> | 2012-08-29 15:28:18 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2012-08-29 15:28:18 +0800 |
commit | b938059b184f563f6d77c64fcd4195da7baedc43 (patch) | |
tree | 04decaad64ad2a00a5e54c86f774f87fe094b28f /lang | |
parent | 1c3206de755a30cf7f12a3f5664028e65c8754d5 (diff) | |
download | freebsd-ports-gnome-b938059b184f563f6d77c64fcd4195da7baedc43.tar.gz freebsd-ports-gnome-b938059b184f563f6d77c64fcd4195da7baedc43.tar.zst freebsd-ports-gnome-b938059b184f563f6d77c64fcd4195da7baedc43.zip |
- Fix build against Tcl/Tk 8.6
- Remove limitation on using a non-threaded version of Tcl/Tk
PR: 171142
Submitted by: gahr
Approved by: Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/otcl/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/otcl/Makefile b/lang/otcl/Makefile index 898a6567f45d..a3553eb61561 100644 --- a/lang/otcl/Makefile +++ b/lang/otcl/Makefile @@ -19,7 +19,6 @@ LICENSE= MIT WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_TK= 82+ -USE_TK_NO_THREADS= yes USE_XORG= xext USE_AUTOTOOLS= autoconf @@ -37,6 +36,10 @@ PORTDOCS= ${DOCS:S/doc\///} CFLAGS+= -DHAVE_UNISTD_H CONFIGURE_ARGS+= --with-tcl-ver=${TCL_VER} --with-tk-ver=${TK_VER} +.if ${USE_TCL} > 85 +CFLAGS+= -DUSE_INTERP_ERRORLINE -DUSE_INTERP_RESULT +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \ -e's|X11/Intrinsic.h|X11/Xlib.h|g' \ |