Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Aug 2011 20:25:48 -0700
From:      Jason Helfman <jhelfman@experts-exchange.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/159776: [patch] www/subsonic: deprecation of www/tomcat41, update deps.
Message-ID:  <1313378748.655192.73411.nullmailer@experts-exchange.com>
Resent-Message-ID: <201108150330.p7F3U6WC054273@freefall.freebsd.org>

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

>Number:         159776
>Category:       ports
>Synopsis:       [patch] www/subsonic: deprecation of www/tomcat41, update deps.
>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 Aug 15 03:30:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
Experts Exchange, LLC.
>Environment:
System: FreeBSD eggman.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Handle deprecation of www/tomcat41 and cleanup dependencies
Fix Tomcat dependency lookup mechanism

	
>How-To-Repeat:
	
>Fix:

Index: www/subsonic/Makefile
===================================================================
RCS file: /home/jhelfman/ncvs/ports/www/subsonic/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- www/subsonic/Makefile	15 Aug 2011 01:04:42 -0000	1.1
+++ www/subsonic/Makefile	15 Aug 2011 02:20:46 -0000
@@ -30,23 +30,18 @@
 SUB_FILES=	pkg-message
 .if exists(${LOCALBASE}/apache-tomcat-6.0/webapps)
 WEBAPPDIR=	${PREFIX}/apache-tomcat-6.0/webapps
-BUILD_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0:${PORTSDIR}/www/tomcat6
-RUN_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0:${PORTSDIR}/www/tomcat6
+BUILD_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
+RUN_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
 SUB_LIST=	TOMCATOPTS="tomcat60_java_opts"
 .elif exists(${LOCALBASE}/tomcat5.5/webapps)
 WEBAPPDIR=	${PREFIX}/tomcat5.5/webapps
-BUILD_DEPENDS+=	${LOCALBASE}/tomcat5.5:${PORTSDIR}/www/tomcat55
-RUN_DEPENDS+=	${LOCALBASE}/tomcat5.5:${PORTSDIR}/www/tomcat55
+BUILD_DEPENDS+=	${LOCALBASE}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
+RUN_DEPENDS+=	${LOCALBASE}/tomcat5.5/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
 SUB_LIST=	TOMCATOPTS="tomcat55_java_opts"
-.elif exists(${LOCALBASE}/apache-tomcat4.1/webapps)
-WEBAPPDIR=	${PREFIX}/apache-tomcat4.1/webapps
-BUILD_DEPENDS+=	${LOCALBASE}/apache-tomcat4.1:${PORTSDIR}/www/tomcat41
-RUN_DEPENDS+=	${LOCALBASE}/apache-tomcat4.1:${PORTSDIR}/www/tomcat41
-SUB_LIST=	TOMCATOPTS="tomcat41_java_opts"
 .else
 WEBAPPDIR=	${PREFIX}/apache-tomcat-6.0/webapps
-BUILD_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0:${PORTSDIR}/www/tomcat6
-RUN_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0:${PORTSDIR}/www/tomcat6
+BUILD_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
+RUN_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
 SUB_LIST=	TOMCATOPTS="tomcat60_java_opts"
 .endif
 
>Release-Note:
>Audit-Trail:
>Unformatted:



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