From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 2 03:30:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78F4F106564A for ; Mon, 2 Mar 2009 03:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 57D378FC0C for ; Mon, 2 Mar 2009 03:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n223U2kr066654 for ; Mon, 2 Mar 2009 03:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n223U28G066653; Mon, 2 Mar 2009 03:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 2 Mar 2009 03:30:02 GMT Resent-Message-Id: <200903020330.n223U28G066653@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, Timothy Beyer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 511731065674 for ; Mon, 2 Mar 2009 03:27:20 +0000 (UTC) (envelope-from beyert@cs.ucr.edu) Received: from sentoku.ucr.edu (sentoku.ucr.edu [138.23.214.80]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5FE8FC15 for ; Mon, 2 Mar 2009 03:27:20 +0000 (UTC) (envelope-from beyert@cs.ucr.edu) Received: from aeonserv.aeonnet (cpe-76-90-217-240.socal.res.rr.com [76.90.217.240]) by sentoku.ucr.edu (MOS 3.10.3-GA) with ESMTP id ECD98022 (AUTH tbeye001); Sun, 1 Mar 2009 19:27:19 -0800 (PST) Message-Id: <87vdqs38pg.wl%beyert@cs.ucr.edu> Date: Sun, 01 Mar 2009 19:27:39 -0800 From: Timothy Beyer To: FreeBSD-gnats-submit@FreeBSD.org Cc: Timothy Beyer Subject: ports/132241: add LATEST_LINK to ports: lang/tcl84, lang/tcl85, lang/tcl86 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, 02 Mar 2009 03:30:02 -0000 >Number: 132241 >Category: ports >Synopsis: add LATEST_LINK to ports: lang/tcl84, lang/tcl85, lang/tcl86 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 02 03:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Timothy Beyer >Release: FreeBSD 7.1-RELEASE-p2 i386 >Organization: no organization >Environment: System: FreeBSD aeonserv.aeonnet 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #4: Sun Jan 25 21:45:53 PST 2009 beyert@aeonserv.aeonnet:/usr/obj/usr/src/sys/CUSTOM i386 >Description: This patch makes the following changes: Adds LATEST_LINK to ports: lang/tcl84, lang/tcl85, lang/tcl86 The reason for these patches is because without this patch, the three tcl ports mentioned may overwrite the shared port options file in /var/db/ports/tcl/options when configuration options are updated for any of those ports. Since it is legitimate and common for these ports to be installed in parallel, each port should use it's own separate directory for the options file, and the way to do this is via the LATEST_LINK variable. Without this patch, scripts that mass configure ports that have new port options added will not generally work for TCL based ports, because each time the most recent tcl configuration may override previous tcl configurations. This patch solves this issue completely, without resorting to appending new options to the existing /var/db/ports/tcl/options >How-To-Repeat: N/A >Fix: The following patches: --- Makefile-tcl84.diff begins here --- --- Makefile.orig 2009-02-26 06:19:51.000000000 -0800 +++ Makefile 2009-03-01 13:41:34.000000000 -0800 @@ -18,6 +18,7 @@ MAINTAINER= mm@FreeBSD.org COMMENT= Tool Command Language +LATEST_LINK= tcl84 PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} -E ${PATCH_DIST_STRIP} WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix ALL_TARGET= all # test --- Makefile-tcl84.diff ends here --- --- Makefile-tcl85.diff begins here --- --- Makefile.orig 2009-02-26 23:09:02.000000000 -0800 +++ Makefile 2009-03-01 13:41:53.000000000 -0800 @@ -17,6 +17,7 @@ MAINTAINER= mm@FreeBSD.org COMMENT= Tool Command Language +LATEST_LINK= tcl85 PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} -E ${PATCH_DIST_STRIP} WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}/unix ALL_TARGET= all --- Makefile-tcl85.diff ends here --- --- Makefile-tcl86.diff begins here --- --- Makefile.orig 2009-02-26 23:11:17.000000000 -0800 +++ Makefile 2009-03-01 13:42:10.000000000 -0800 @@ -17,6 +17,7 @@ MAINTAINER= mm@FreeBSD.org COMMENT= Tool Command Language +LATEST_LINK= tcl86 PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} -E ${PATCH_DIST_STRIP} WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}/unix ALL_TARGET= all --- Makefile-tcl86.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: