ports/132241: add LATEST_LINK to ports: lang/tcl84, lang/tcl85, lang/tcl86
Timothy Beyer
beyert at cs.ucr.edu
Mon Mar 2 03:30:02 UTC 2009
>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 at 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 at 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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list