All pastes #26219 Raw Edit

Miscellany

public text v1 · immutable
#26219 ·published 2005-10-21 22:30 UTC
rendered paste body
Index: dev-util/j/j-0.20.2.ebuild
===================================================================
--- dev-util/j/j-0.20.2.ebuild  (revision 1096)
+++ dev-util/j/j-0.20.2.ebuild  (working copy)
@@ -27,6 +27,8 @@
                --infodir=/usr/share/info \
                --mandir=/usr/share/man \
                || die "./configure failed"
+       # Fix abl and j scripts to use java-config --java
+       sed -i -e 's/JAVA=.*/JAVA=$(java-config --java)/' abl j
        emake || die
 }