commit:     c48bc95b2a5cd32ca759441e564c8d23ddcf3ed8
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Feb 26 11:34:59 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 12:46:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c48bc95b

www-servers/tomcat: move patches to PATCHES array

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/29805
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 www-servers/tomcat/tomcat-10.1.6.ebuild | 4 ++--
 www-servers/tomcat/tomcat-8.5.87.ebuild | 4 ++--
 www-servers/tomcat/tomcat-9.0.73.ebuild | 3 +--
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/www-servers/tomcat/tomcat-10.1.6.ebuild 
b/www-servers/tomcat/tomcat-10.1.6.ebuild
index 17af3cdb9074..a2d0614c3733 100644
--- a/www-servers/tomcat/tomcat-10.1.6.ebuild
+++ b/www-servers/tomcat/tomcat-10.1.6.ebuild
@@ -51,6 +51,8 @@ DEPEND="${COMMON_DEP}
 BDEPEND="verify-sig? ( ~sec-keys/openpgp-keys-apache-tomcat-${PV}:${PV} )"
 
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-${PV}.apache.org.asc"
 
+PATCHES=( "${FILESDIR}/${PN}-10.1.6-build.xml.patch" )
+
 S=${WORKDIR}/${MY_P}
 
 BND_HOME="${S}/tomcat-build-libs/bnd"
@@ -75,8 +77,6 @@ src_prepare() {
 
        find -name '*.jar' -type f -delete -print || die
 
-       eapply "${FILESDIR}/${PN}-10.1.6-build.xml.patch"
-
        local vm_version="$(java-config -g PROVIDES_VERSION)"
 
        # For use of catalina.sh in netbeans

diff --git a/www-servers/tomcat/tomcat-8.5.87.ebuild 
b/www-servers/tomcat/tomcat-8.5.87.ebuild
index e1506972d167..6f5f1a7f9687 100644
--- a/www-servers/tomcat/tomcat-8.5.87.ebuild
+++ b/www-servers/tomcat/tomcat-8.5.87.ebuild
@@ -47,6 +47,8 @@ DEPEND="${COMMON_DEP}
 BDEPEND="verify-sig? ( ~sec-keys/openpgp-keys-apache-tomcat-${PV}:${PV} )"
 
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-${PV}.apache.org.asc"
 
+PATCHES=( "${FILESDIR}/${PN}-8.5.86-build.xml.patch" )
+
 S=${WORKDIR}/${MY_P}
 
 src_prepare() {
@@ -54,8 +56,6 @@ src_prepare() {
 
        find -name '*.jar' -type f -delete -print || die
 
-       eapply "${FILESDIR}/${PN}-8.5.86-build.xml.patch"
-
        # For use of catalina.sh in netbeans
        sed -i -e "/^# ----- Execute The Requested Command/ a\
                CLASSPATH=\`java-config --with-dependencies --classpath 
${PN}-${SLOT}\`" \

diff --git a/www-servers/tomcat/tomcat-9.0.73.ebuild 
b/www-servers/tomcat/tomcat-9.0.73.ebuild
index 106615a65169..3a87d1e05600 100644
--- a/www-servers/tomcat/tomcat-9.0.73.ebuild
+++ b/www-servers/tomcat/tomcat-9.0.73.ebuild
@@ -57,6 +57,7 @@ S=${WORKDIR}/${MY_P}
 
 PATCHES=(
        "${FILESDIR}/${PN}-9.0.50-insufficient-ecj.patch"
+       "${FILESDIR}/${PN}-9.0.72-build.xml.patch"
 )
 
 BND_HOME="${S}/tomcat-build-libs/bnd"
@@ -81,8 +82,6 @@ src_prepare() {
 
        find -name '*.jar' -type f -delete -print || die
 
-       eapply "${FILESDIR}/${PN}-9.0.72-build.xml.patch"
-
        # For use of catalina.sh in netbeans
        sed -i -e "/^# ----- Execute The Requested Command/ a\
                CLASSPATH=\`java-config --with-dependencies --classpath 
${PN}-${SLOT}\`" \

Reply via email to