Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 04:39:47 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336142 - head/textproc/tkdiff
Message-ID:  <201312110439.rBB4dlm4085829@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno (src committer)
Date: Wed Dec 11 04:39:47 2013
New Revision: 336142
URL: http://svnweb.freebsd.org/changeset/ports/336142

Log:
  Make tkdiff work again by stealing the post-patch stanza from tkcvs and
  apply it here to deal with wish correctly.
  
  Reviewed by:	kevlo@

Modified:
  head/textproc/tkdiff/Makefile

Modified: head/textproc/tkdiff/Makefile
==============================================================================
--- head/textproc/tkdiff/Makefile	Wed Dec 11 04:14:50 2013	(r336141)
+++ head/textproc/tkdiff/Makefile	Wed Dec 11 04:39:47 2013	(r336142)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tkdiff
 PORTVERSION=	4.2
+PORTREVISION=	1
 CATEGORIES=	textproc tk
 MASTER_SITES=	SF
 
@@ -19,6 +20,10 @@ NO_BUILD=	yes
 
 PLIST_FILES=	bin/tkdiff
 
+post-patch:
+	${FIND} ${WRKSRC} -type f | ${XARGS} \
+		${REINPLACE_CMD} -e '/^exec wish/s|wish|${WISH}|g' -e '/^exec tclsh/s|tclsh|${TCLSH}|g'
+
 do-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/tkdiff ${STAGEDIR}${PREFIX}/bin
 



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