From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 12 16:30:05 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E2D716A404 for ; Mon, 12 Mar 2007 16:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 3F30313C45A for ; Mon, 12 Mar 2007 16:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2CGU58Z092029 for ; Mon, 12 Mar 2007 16:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2CGU5uq092028; Mon, 12 Mar 2007 16:30:05 GMT (envelope-from gnats) Resent-Date: Mon, 12 Mar 2007 16:30:05 GMT Resent-Message-Id: <200703121630.l2CGU5uq092028@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Matuska Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11A7B16A401 for ; Mon, 12 Mar 2007 16:22:26 +0000 (UTC) (envelope-from rebum@mail.vx.sk) Received: from mail.vx.sk (neo.vx.sk [88.198.35.14]) by mx1.freebsd.org (Postfix) with ESMTP id 96B9C13C468 for ; Mon, 12 Mar 2007 16:22:25 +0000 (UTC) (envelope-from rebum@mail.vx.sk) Received: from localhost (localhost [127.0.0.1]) by mail.vx.sk (Postfix) with ESMTP id B86E93F47C for ; Mon, 12 Mar 2007 17:22:24 +0100 (CET) Received: from mail.vx.sk ([127.0.0.1]) by localhost (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4YnQNYnak1yz for ; Mon, 12 Mar 2007 17:22:21 +0100 (CET) Received: by mail.vx.sk (Postfix, from userid 1001) id 0FF6F3F477; Mon, 12 Mar 2007 17:22:21 +0100 (CET) Message-Id: <20070312162221.0FF6F3F477@mail.vx.sk> Date: Mon, 12 Mar 2007 17:22:21 +0100 (CET) From: Martin Matuska To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/110232: [UPDATE] lang/tcl81-thread X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 16:30:05 -0000 >Number: 110232 >Category: ports >Synopsis: [UPDATE] lang/tcl81-thread >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Mar 12 16:30:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Martin Matuska >Release: FreeBSD 6.2-RELEASE >Organization: >Environment: FreeBSD 6.2-RELEASE i386 and amd64 >Description: This update changes the following: - adds TCL81_MAN and TCLSH_WRAPPER to OPTIONS - removes pseudo-installation of tclsh in favour of new lang/tcl-tk-wrapper port - adds support for NO_INSTALL_MANPAGES knob Portlint -A and tinderbox do not complain. I would like to take over maintainership over this port. >How-To-Repeat: >Fix: diff -Nbur lang/tcl81-thread.orig/Makefile lang/tcl81-thread/Makefile --- lang/tcl81-thread.orig/Makefile Tue Aug 15 02:29:09 2006 +++ lang/tcl81-thread/Makefile Mon Mar 12 17:17:19 2007 @@ -5,14 +5,16 @@ # $FreeBSD: ports/lang/tcl81-thread/Makefile,v 1.21 2006/08/15 00:29:09 clsung Exp $ # -PORTNAME= tcl-thread +PORTNAME= tcl PORTVERSION= 8.1.b1 +PORTREVISION= 1 CATEGORIES= lang tcl81 MASTER_SITES= ${MASTER_SITE_TCLTK} MASTER_SITE_SUBDIR= tcl8_1 +PKGNAMESUFFIX= -threads DISTNAME= tcl8.1b1 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= martin@matuska.org COMMENT= Tcl81 with threads support FILE_DEPENDS= ${PORTSDIR}/lang/tcl80 @@ -23,9 +25,17 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared --enable-threads CONFIGURE_ENV= PORTSDIR=${PORTSDIR} -PKGINSTALL= ${PORTSDIR}/lang/tcl82/pkg/pkg-install.tclsh -PKGDEINSTALL= ${PORTSDIR}/lang/tcl82/pkg/pkg-deinstall.tclsh +OPTIONS= TCL81_MAN "Install tcl 8.1 manpages" off \ + TCLSH_WRAPPER "Require tclsh wrapper from ports" off + +.include + +.if defined(WITH_TCLSH_WRAPPER) +RUN_DEPENDS+= tclsh:${PORTSDIR}/lang/tcl-tk-wrapper +.endif + +.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TCL81_MAN) MAN1= tclsh.1 MAN3= AddErrInfo.3 Alloc.3 AllowExc.3 AppInit.3 AssocData.3 Async.3 \ @@ -56,16 +66,15 @@ variable.n vwait.n while.n MANCOMPRESSED= yes - -.include +.endif .if ${ARCH} == "sparc64" -BROKEN= "Does not compile on sparc64" +BROKEN= does not compile on sparc64 .endif post-install: -.if exists(${PKGINSTALL}) - ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} +.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TCL81_MAN) + @cd ${WRKSRC} && ${MAKE} -f Makefile install-man .endif test: diff -Nbur lang/tcl81-thread.orig/files/patch-aa lang/tcl81-thread/files/patch-aa --- lang/tcl81-thread.orig/files/patch-aa Thu Jan 21 19:19:58 1999 +++ lang/tcl81-thread/files/patch-aa Mon Mar 12 16:48:13 2007 @@ -1,5 +1,5 @@ ---- Makefile.in.orig Fri Dec 11 18:36:13 1998 -+++ Makefile.in Thu Jan 21 11:09:47 1999 +--- Makefile.in.orig Sat Dec 12 00:36:13 1998 ++++ Makefile.in Mon Mar 12 16:48:00 2007 @@ -55,7 +55,9 @@ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin @@ -70,7 +70,14 @@ @TCL_LD_SEARCH_FLAGS@ -o tclsh tcltest: ${TCLTEST_OBJS} ${TCL_LIB_FILE} ${BUILD_DLTEST} -@@ -459,7 +467,7 @@ +@@ -453,13 +461,13 @@ + cd dltest; if test -f configure; then ./configure; else \ + $(DLTEST_DIR)/configure; fi + +-install: install-binaries install-libraries install-man ++install: install-binaries install-libraries + + # Note: before running ranlib below, must cd to target directory because # some ranlibs write to current directory, and this might not always be # possible (e.g. if installing as root). >Release-Note: >Audit-Trail: >Unformatted: