aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-03-17 03:41:01 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-03-17 03:41:01 +0100
commit0f81c02f229d0413efda1986607251450222d9aa (patch)
treeb4f6ca019f2c60da2061e0019e7a8bf48341ce15 /media-gfx/gephi-bin
parentmedia-gfx/gephi-bin: new package (diff)
downloadguru-0f81c02f229d0413efda1986607251450222d9aa.tar.gz
guru-0f81c02f229d0413efda1986607251450222d9aa.tar.bz2
guru-0f81c02f229d0413efda1986607251450222d9aa.zip
media-gfx/gephi-bin: autodetect javahome
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'media-gfx/gephi-bin')
-rw-r--r--media-gfx/gephi-bin/gephi-bin-0.9.2.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/media-gfx/gephi-bin/gephi-bin-0.9.2.ebuild b/media-gfx/gephi-bin/gephi-bin-0.9.2.ebuild
index 08701750d..25f378c20 100644
--- a/media-gfx/gephi-bin/gephi-bin-0.9.2.ebuild
+++ b/media-gfx/gephi-bin/gephi-bin-0.9.2.ebuild
@@ -24,6 +24,8 @@ QA_PREBUILT="
"
src_prepare() {
+ sed -e 's|\#jdkhome="\/path\/to\/jdk"|jdkhome=\$(java-config -O)|g' -i "${S}/${MYP}/etc/gephi.conf"
+
#remove windows things
rm -r "${S}/${MYP}"/bin/*.exe || die
rm -r "${S}/${MYP}"/platform/lib/*.exe || die