diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-12-04 13:38:23 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-12-04 13:38:23 +0000 |
commit | 7496c26e03e5823dbbcba332a434e71da07e119b (patch) | |
tree | 77495fe6fb86735cb8f02e5fd128abdb9a0301d6 /dev-java/japitools | |
parent | sys-libs/readline: Added sub-slot dependency for sys-libs/ncurses. (diff) | |
download | gentoo-7496c26e03e5823dbbcba332a434e71da07e119b.tar.gz gentoo-7496c26e03e5823dbbcba332a434e71da07e119b.tar.bz2 gentoo-7496c26e03e5823dbbcba332a434e71da07e119b.zip |
dev-java/japitools: Fix classpath adjustment, broken by eclass change
Straight to stable, the current version is totally broken.
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-java/japitools')
-rw-r--r-- | dev-java/japitools/japitools-0.9.7-r4.ebuild (renamed from dev-java/japitools/japitools-0.9.7-r3.ebuild) | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/dev-java/japitools/japitools-0.9.7-r3.ebuild b/dev-java/japitools/japitools-0.9.7-r4.ebuild index c80e8b9fe045..dfcead47e614 100644 --- a/dev-java/japitools/japitools-0.9.7-r3.ebuild +++ b/dev-java/japitools/japitools-0.9.7-r4.ebuild @@ -15,8 +15,6 @@ SRC_URI="http://www.kaffe.org/~stuart/japi/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" - RESTRICT="test" CDEPEND="dev-java/ant-core:0" @@ -33,15 +31,16 @@ DEPEND=" S="${WORKDIR}/${P}" JAVA_GENTOO_CLASSPATH="ant-core" - JAVA_SRC_DIR="src" -java_prepare() { - eapply_user - cd "${S}"/bin || die - rm *.bat || die - sed -e "s:../share/java:../share/${PN}/lib:" -i * \ +src_prepare() { + default + + rm bin/*.bat || die + sed -e "s:\.\./share/java:../share/${PN}/lib:" -i bin/* \ || die "Failed to correct the location of the jar file in perl scripts." + + java-pkg-2_src_prepare } src_install() { |