dev-java/colt: Swap out find rm with java-pkg_clean.
authorPatrice Clement <monsieurp@gentoo.org>
Wed, 7 Oct 2015 23:17:29 +0000 (23:17 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 7 Oct 2015 23:17:29 +0000 (23:17 +0000)
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-java/colt/colt-1.2.0-r3.ebuild

index 68ae524fcede1d675d12245dc4ebf39962651d5f..d190857ba978b4873a87d124a63220a4d144d3e7 100644 (file)
@@ -22,7 +22,6 @@ RDEPEND=">=virtual/jre-1.7"
 S="${WORKDIR}/${PN}"
 
 EANT_BUILD_TARGET="javac jar"
-JAVA_ANT_REWRITE_CLASSPATH="true"
 JAVA_ANT_ENCODING="ISO-8859-1"
 
 # [0]: I don't know but it must be useful.
@@ -35,8 +34,7 @@ PATCHES=(
 
 java_prepare() {
        epatch "${PATCHES[@]}"
-
-       find "${S}" -name \*.jar -exec rm -v {} \; || die
+       java-pkg_clean
 }
 
 src_install() {