svn commit: r336142 - head/textproc/tkdiff

Sean Bruno sbruno at FreeBSD.org
Wed Dec 11 04:39:48 UTC 2013


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
 


More information about the svn-ports-all mailing list