ports/159776: [patch] www/subsonic: deprecation of www/tomcat41, update deps.
Jason Helfman
jhelfman at experts-exchange.com
Mon Aug 15 03:30:06 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list