summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2015-10-08 21:43:56 +0100
committerJames Le Cuirot <chewi@gentoo.org>2015-10-08 21:44:41 +0100
commitbfbf45fdc3c626dac26201e3284c6d77814aacdb (patch)
treeec4e2c3f60a07f58561624f279f2c27b48f51318 /dev-java
parentdev-ruby/recog: bump and fix collisions (diff)
downloadgentoo-bfbf45fdc3c626dac26201e3284c6d77814aacdb.tar.gz
gentoo-bfbf45fdc3c626dac26201e3284c6d77814aacdb.tar.bz2
gentoo-bfbf45fdc3c626dac26201e3284c6d77814aacdb.zip
dev-java/ehcache: Set sane source/target flags
Fixes bug #562598. Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/ehcache/ehcache-1.2.4-r4.ebuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/dev-java/ehcache/ehcache-1.2.4-r4.ebuild b/dev-java/ehcache/ehcache-1.2.4-r4.ebuild
index d6477b931e02..679a03610b6a 100644
--- a/dev-java/ehcache/ehcache-1.2.4-r4.ebuild
+++ b/dev-java/ehcache/ehcache-1.2.4-r4.ebuild
@@ -27,15 +27,10 @@ DEPEND=">=virtual/jdk-1.6
app-arch/unzip"
S="${WORKDIR}/${P}"
-
-JAVA_PKG_WANT_SOURCE="1.7"
-JAVA_PKG_WANT_TARGET="1.7"
-JAVA_SRC_DIR="src"
-
JAVA_GENTOO_CLASSPATH="commons-collections,commons-logging,servlet-api-2.5"
java_prepare() {
- unzip -d src ${P}-sources.jar || die
- rm -rf src/net/sf/ehcache/hibernate || die
- rm *.jar || die
+ unpack ./${P}-sources.jar
+ rm -vr net/sf/ehcache/hibernate || die
+ java-pkg_clean
}