diff options
author | Martin Mokrejš <mmokrejs@fold.natur.cuni.cz> | 2016-07-12 23:42:07 +0200 |
---|---|---|
committer | Martin Mokrejš <mmokrejs@fold.natur.cuni.cz> | 2016-07-12 23:42:07 +0200 |
commit | d0811884dba63b23093aa0cf580171e4ba51a36f (patch) | |
tree | 38338388bb5de36f0c47ae4b1dd2c8032a3b4c7c /dev-java | |
parent | sci-biology/ampliconnoise: more ebuild tweaks (diff) | |
download | sci-d0811884dba63b23093aa0cf580171e4ba51a36f.tar.gz sci-d0811884dba63b23093aa0cf580171e4ba51a36f.tar.bz2 sci-d0811884dba63b23093aa0cf580171e4ba51a36f.zip |
dev-java/htsjdk: make gradle use relocated $HOME/.gradle/ inside sanbox paths
This dies later because .git/ directory does not exist (probably $HOME/.git/ was
looked up).
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/htsjdk/htsjdk-2.5.1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-java/htsjdk/htsjdk-2.5.1.ebuild b/dev-java/htsjdk/htsjdk-2.5.1.ebuild index b63c0d23f..0f1e162dd 100644 --- a/dev-java/htsjdk/htsjdk-2.5.1.ebuild +++ b/dev-java/htsjdk/htsjdk-2.5.1.ebuild @@ -36,7 +36,9 @@ java_prepare(){ } src_compile(){ - ./gradlew build || die + # work around gradle writing $HOME/.gradle + # https://github.com/samtools/htsjdk/issues/660#issuecomment-232155965 + GRADLE_USER_HOME="${WORKDIR}" ./gradlew build || die } src_install() { |