Date: Fri, 10 Apr 2009 10:12:51 +0900 (JST) From: mitsuru@riken.jp To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/133555: fix for lang/tclX Message-ID: <200904100112.n3A1CpFn076750@zebu.yokohama.riken.jp> Resent-Message-ID: <200904100140.n3A1e6K0022837@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133555 >Category: ports >Synopsis: fix for lang/tclX >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Apr 10 01:40:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 7.1-RELEASE-p4 i386 >Organization: RIKEN >Environment: System: FreeBSD 7.1-RELEASE-p4 >Description: lang/tclX port has been marked as BROKEN. This is a fix. Since lang/tcl84 was changed not to install man pages by default, you have to check if the man pages exists or not. >How-To-Repeat: >Fix: diff -ruN tclX.old/Makefile tclX/Makefile --- tclX.old/Makefile 2009-04-10 09:49:57.000000000 +0900 +++ tclX/Makefile 2009-04-10 09:50:40.000000000 +0900 @@ -16,8 +16,6 @@ MAINTAINER= mi@aldan.algebra.com COMMENT= Extended TCL -BROKEN= does not compile - USE_BZIP2= yes USE_TCL_BUILD= 84 USE_TCL= 84 diff -ruN tclX.old/files/patch-Makefile.in tclX/files/patch-Makefile.in --- tclX.old/files/patch-Makefile.in 1970-01-01 09:00:00.000000000 +0900 +++ tclX/files/patch-Makefile.in 2009-04-10 09:46:26.000000000 +0900 @@ -0,0 +1,21 @@ +--- Makefile.in.orig 2005-11-21 06:29:13.000000000 +0900 ++++ Makefile.in 2009-04-10 09:46:19.000000000 +0900 +@@ -446,12 +446,14 @@ + help: $(BINARIES) + if test ! -d "${HELP_DIR}" ; then \ + mkdir -p "${HELP_DIR}" ; \ +- ${TCLSH} ${TCLX_TOOLS_SRC_DIR}/bldmanhelp.tcl \ +- `@CYGPATH@ ${TCL_SRC_DIR}/doc` \ ++ fi ++ if test -e $(mandir)/mann/Tcl.n ; then \ ++ ${TCLSH} ${TCLX_TOOLS_SRC_DIR}/bldmanhelp.tcl \ ++ `@CYGPATH@ ${TCL_SRC_DIR}/doc` \ + ${TCLX_TOOLS_SRC_DIR}/tclmanpages ${HELP_DIR_NATIVE} Tcl.brf; \ +- ${TCLSH} ${TCLX_TOOLS_SRC_DIR}/runbuildhelp.tcl \ +- ${HELP_DIR_NATIVE} TclX.brf ${TCLX_DOC_DIR}/TclX.n; \ + fi ++ ${TCLSH} ${TCLX_TOOLS_SRC_DIR}/runbuildhelp.tcl \ ++ ${HELP_DIR_NATIVE} TclX.brf ${TCLX_DOC_DIR}/TclX.n; \ + + install-help: + @if test -d "${HELP_DIR}" ; then \ diff -ruN tclX.old/files/patch-tclmanpages tclX/files/patch-tclmanpages --- tclX.old/files/patch-tclmanpages 1970-01-01 09:00:00.000000000 +0900 +++ tclX/files/patch-tclmanpages 2009-04-10 09:19:37.000000000 +0900 @@ -0,0 +1,14 @@ +--- unix/tools/tclmanpages.orig 2004-12-02 08:30:17.000000000 +0900 ++++ unix/tools/tclmanpages 2009-04-10 09:17:50.000000000 +0900 +@@ -108,7 +108,10 @@ + {update.n tcl/events/update} + {variable.n tcl/variables/variable} + {vwait.n tcl/events/vwait} +- {tclsh.1 tcl/intro/tclsh} ++} ++ ++if {$tcl_version == 8.4} { ++ lappend docs {tclsh8.4.1 tcl/intro/tclsh} + } + + if {$tcl_version <= 8.4} { >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904100112.n3A1CpFn076750>