Date: Thu, 21 Nov 2013 11:01:31 +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: r334474 - in head/x11-toolkits/blt: . files Message-ID: <201311211101.rALB1VhM053218@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Thu Nov 21 11:01:31 2013 New Revision: 334474 URL: http://svnweb.freebsd.org/changeset/ports/334474 Log: - Support Tcl/Tk 8.6 Submitted by: mi@ Modified: head/x11-toolkits/blt/Makefile head/x11-toolkits/blt/files/patch-generic_bltInt.h Modified: head/x11-toolkits/blt/Makefile ============================================================================== --- head/x11-toolkits/blt/Makefile Thu Nov 21 10:54:15 2013 (r334473) +++ head/x11-toolkits/blt/Makefile Thu Nov 21 11:01:31 2013 (r334474) @@ -3,6 +3,7 @@ PORTNAME= blt PORTVERSION= 2.5.3 +PORTREVISION= 1 CATEGORIES= x11-toolkits tk MASTER_SITES= SF/wize DISTNAME= ${PORTNAME}-src-${PORTVERSION} @@ -16,7 +17,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/grap WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R} -USES+= gmake tk:84,85 +USES+= gmake tk USE_ZIP= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes @@ -42,4 +43,10 @@ post-patch: ${FIND} ${WRKSRC}/demos -name "*.tcl" | ${XARGS} \ ${REINPLACE_CMD} -e 's|../src/bltwish|${LOCALBASE}/bin/bltwish|' -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${TCL_VER} > 8.5 +CFLAGS+= -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE +.endif + +.include <bsd.port.post.mk> Modified: head/x11-toolkits/blt/files/patch-generic_bltInt.h ============================================================================== --- head/x11-toolkits/blt/files/patch-generic_bltInt.h Thu Nov 21 10:54:15 2013 (r334473) +++ head/x11-toolkits/blt/files/patch-generic_bltInt.h Thu Nov 21 11:01:31 2013 (r334474) @@ -14,7 +14,7 @@ #ifdef TCL_UTF_MAX #define HAVE_UTF 1 -extern FILE *Blt_OpenUtfFile _ANSI_ARGS_((char *fileName, char *mode)); -+extern FILE *Blt_OpenUtfFile _ANSI_ARGS_((CONST char *fileName, char *mode)); ++extern FILE *Blt_OpenUtfFile _ANSI_ARGS_((CONST char *fileName, CONST char *mode)); #define fopen(f,m) Blt_OpenUtfFile((f),(m)); #else #define HAVE_UTF 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311211101.rALB1VhM053218>