Diff tomcat-native-1.2.39 with a tomcat-native-2.0.5

/usr/portage/dev-java/tomcat-native/tomcat-native-2.0.5.ebuild 2023-10-09 14:52:29.448368349 +0300
6 6
JAVA_PKG_IUSE="doc source test"
7 7
JAVA_TESTING_FRAMEWORKS="junit-4"
8 8

  
9
inherit java-pkg-2 java-pkg-simple verify-sig
9
inherit autotools java-pkg-2 java-pkg-simple verify-sig
10 10

  
11 11
DESCRIPTION="Allows Tomcat to use certain native resources for better performance"
12 12
HOMEPAGE="https://tomcat.apache.org/native-doc/"
......
16 16
	)"
17 17
S=${WORKDIR}/${P}-src/native
18 18

  
19
KEYWORDS="~amd64 ~x86"
19
KEYWORDS="amd64 ~x86"
20 20
LICENSE="Apache-2.0"
21
SLOT="0"
21
SLOT="2"
22 22
IUSE="static-libs"
23 23

  
24 24
DEPEND="
......
62 62
}
63 63

  
64 64
src_test() {
65
	# Adjusting "String testFile =" path in TestFile.java:29 to match ${S}
66
	sed \
67
		-e '/String testFile =/s&test/&../test/&' \
68
		-i ../test/org/apache/tomcat/jni/TestFile.java || die
69

  
70 65
	JAVA_TEST_EXTRA_ARGS=( -Djava.library.path=".libs" )
71 66
	java-pkg-simple_src_test
72 67
}
Thank you!