Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 07:28:18 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303320 - head/lang/otcl
Message-ID:  <201208290728.q7T7SIYw004662@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Wed Aug 29 07:28:18 2012
New Revision: 303320
URL: http://svn.freebsd.org/changeset/ports/303320

Log:
  - 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)

Modified:
  head/lang/otcl/Makefile

Modified: head/lang/otcl/Makefile
==============================================================================
--- head/lang/otcl/Makefile	Wed Aug 29 07:02:49 2012	(r303319)
+++ head/lang/otcl/Makefile	Wed Aug 29 07:28:18 2012	(r303320)
@@ -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' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208290728.q7T7SIYw004662>