Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2012 12:28:23 +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: r305648 - head/devel/tcllib
Message-ID:  <201210101228.q9ACSN9w026185@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Wed Oct 10 12:28:22 2012
New Revision: 305648
URL: http://svn.freebsd.org/changeset/ports/305648

Log:
  - Do not install the try.n manpage when using Tcl 8.6, cause try/catch/finally
    are part of Tcl 8.6 core and the relevant manpage is installed by lang/tcl86
    http://www.tcl.tk/cgi-bin/tct/tip/329.html

Modified:
  head/devel/tcllib/Makefile
  head/devel/tcllib/Makefile.man

Modified: head/devel/tcllib/Makefile
==============================================================================
--- head/devel/tcllib/Makefile	Wed Oct 10 12:20:32 2012	(r305647)
+++ head/devel/tcllib/Makefile	Wed Oct 10 12:28:22 2012	(r305648)
@@ -7,6 +7,7 @@
 
 PORTNAME=	tcllib
 PORTVERSION=	1.14
+PORTREVISION=	1
 CATEGORIES=	devel tcl
 MASTER_SITES=	SF
 
@@ -43,6 +44,14 @@ post-patch:
 	   ${WRKSRC}/modules/doctools/tests/text/04 > ${WRKSRC}/modules/doctools/tests/text/04.new
 	${MV} ${WRKSRC}/modules/doctools/tests/text/04.new ${WRKSRC}/modules/doctools/tests/text/04
 
+	# try(n) is part of Tcl core since 8.6
+.if ${TCL_VER:S/.//} < 86
+	MANN+=		try.n
+.else
+	${MV} ${WRKSRC}/modules/try/try.man ${WRKSRC}/modules/try/try.man.noinstall
+.endif
+
+
 RUNTEST=	${SETENV} LANG=C DISPLAY= ${MAKE} -C ${WRKSRC} test
 MYID	!=	${ID} -u
 .if ${MYID} == 0

Modified: head/devel/tcllib/Makefile.man
==============================================================================
--- head/devel/tcllib/Makefile.man	Wed Oct 10 12:20:32 2012	(r305647)
+++ head/devel/tcllib/Makefile.man	Wed Oct 10 12:28:22 2012	(r305648)
@@ -303,7 +303,6 @@ MANN=		S3.n \
 		traverse.n \
 		treeql.n \
 		trim.n \
-		try.n \
 		uevent.n \
 		uevent_onidle.n \
 		unicode.n \



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