diff options
author | dbaio <dbaio@FreeBSD.org> | 2018-07-29 20:45:18 +0800 |
---|---|---|
committer | dbaio <dbaio@FreeBSD.org> | 2018-07-29 20:45:18 +0800 |
commit | 600621284d55d7b8fe6b6c7ef76db7ecbdde9118 (patch) | |
tree | cf252fcc9175fd828e3f2ef7d44df4e84f4f884c /www/tomcat85 | |
parent | ef4a1dc89f789f0c4fd74923fbf9b6aa657bf042 (diff) | |
download | freebsd-ports-gnome-600621284d55d7b8fe6b6c7ef76db7ecbdde9118.tar.gz freebsd-ports-gnome-600621284d55d7b8fe6b6c7ef76db7ecbdde9118.tar.zst freebsd-ports-gnome-600621284d55d7b8fe6b6c7ef76db7ecbdde9118.zip |
www/tomcat85: Remove start_precmd from rcfile
This is not being used, users can use $tomcat85_env to pass variables.
PR: 228418
Submitted by: VVD <vvd@unislabs.com> (maintainer)
Reported by: Michael Osipov <1983-01-06@gmx.net>
Diffstat (limited to 'www/tomcat85')
-rw-r--r-- | www/tomcat85/Makefile | 1 | ||||
-rw-r--r-- | www/tomcat85/files/tomcat85.in | 11 |
2 files changed, 1 insertions, 11 deletions
diff --git a/www/tomcat85/Makefile b/www/tomcat85/Makefile index 08fc07a6de98..a32440c43411 100644 --- a/www/tomcat85/Makefile +++ b/www/tomcat85/Makefile @@ -3,6 +3,7 @@ PORTNAME= tomcat PORTVERSION= 8.5.30 +PORTREVISION= 1 CATEGORIES= www java MASTER_SITES= APACHE/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/([0-9])(.*)/\1/}/v${PORTVERSION}/bin PKGNAMESUFFIX= 85 diff --git a/www/tomcat85/files/tomcat85.in b/www/tomcat85/files/tomcat85.in index d34efeaad692..8cbc67a86002 100644 --- a/www/tomcat85/files/tomcat85.in +++ b/www/tomcat85/files/tomcat85.in @@ -131,15 +131,4 @@ command_args="-java-home '${_tomcat_java_home}' \ org.apache.catalina.startup.Bootstrap \ ${_tomcat_pipe_cmd}" -start_precmd="tomcat_prestart" - -tomcat_prestart() -{ - if [ -r "${_tomcat_catalina_base}/bin/setenv.sh" ]; then - . "${_tomcat_catalina_base}/bin/setenv.sh" - elif [ -r "${_tomcat_catalina_home}/bin/setenv.sh" ]; then - . "${_tomcat_catalina_home}/bin/setenv.sh" - fi -} - run_rc_command "$1" |