Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 01:13:14 -0800 (PST)
From:      Kang Liu <liukang@bjpu.edu.cn>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/63210: Set LATEST_LINK for jakarta-tomcat3,4,41 to avoid conflict
Message-ID:  <200402220913.i1M9DE3v008589@www.freebsd.org>
Resent-Message-ID: <200402220920.i1M9KKjx010802@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63210
>Category:       ports
>Synopsis:       Set LATEST_LINK for jakarta-tomcat3,4,41 to avoid conflict
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 22 01:20:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kang Liu
>Release:        4.9 & 5.2
>Organization:
Beijing University of Technology
>Environment:
System: FreeBSD ftp.bjpu.edu.cn 4.9-STABLE FreeBSD 4.9-STABLE #64: Fri Dec 5 00:28:47 CST 2003 delphij@ftp.bjpu.edu.cn:/usr/obj/usr/src/sys/FTP i386

>Description:
jakarta-tomcat3,4,41,5 has the same PORTNAME and didn't set LATEST_LINK in their Makefile. In my patch I use APP_SHORTNAME as LATEST_LINK to avoid conflicts.

>How-To-Repeat:
n/a
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/jakarta-tomcat3/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile	13 Nov 2003 12:54:55 -0000	1.39
+++ Makefile	22 Feb 2004 08:56:20 -0000
@@ -48,6 +48,7 @@
 		${WRKSRC}/conf/server.xml
 JAR_FILE=	lib/tomcat.jar
 WRKDIR?=	${WRKDIRPREFIX}${.CURDIR}/work
+LATEST_LINK=	${APP_SHORTNAME}
 
 .include <bsd.port.pre.mk>
 

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/jakarta-tomcat4/Makefile,v
retrieving revision 1.45
diff -u -r1.45 Makefile
--- Makefile	13 Nov 2003 12:54:55 -0000	1.45
+++ Makefile	22 Feb 2004 08:56:40 -0000
@@ -50,6 +50,7 @@
 		${WRKSRC}/conf/server.xml
 JAR_FILE=	bin/bootstrap.jar
 WRKDIR?=	${WRKDIRPREFIX}${.CURDIR}/work
+LATEST_LINK=	${APP_SHORTNAME}
 
 .include <bsd.port.pre.mk>
 

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/jakarta-tomcat41/Makefile,v
retrieving revision 1.52
diff -u -r1.52 Makefile
--- Makefile	2 Jan 2004 12:31:10 -0000	1.52
+++ Makefile	22 Feb 2004 08:57:46 -0000
@@ -52,6 +52,7 @@
 		${WRKSRC}/conf/server.xml
 JAR_FILE=	bin/bootstrap.jar
 WRKDIR?=	${WRKDIRPREFIX}${.CURDIR}/work
+LATEST_LINK=	${APP_SHORTNAME}
 
 .include <bsd.port.pre.mk>
 

>Release-Note:
>Audit-Trail:
>Unformatted:



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