diff options
Diffstat (limited to 'dev-util/jarwizard')
-rw-r--r-- | dev-util/jarwizard/jarwizard-2.34.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-util/jarwizard/jarwizard-2.34.ebuild b/dev-util/jarwizard/jarwizard-2.34.ebuild index f2e34582d5f7..a5a8a3010e4c 100644 --- a/dev-util/jarwizard/jarwizard-2.34.ebuild +++ b/dev-util/jarwizard/jarwizard-2.34.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/jarwizard/jarwizard-2.34.ebuild,v 1.4 2004/11/03 11:47:56 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/jarwizard/jarwizard-2.34.ebuild,v 1.5 2005/07/16 18:57:09 axxo Exp $ inherit java-pkg @@ -22,7 +22,7 @@ src_compile() { if use jikes ; then jikes -O -source 1.3 *.java else - javac -g:none -source 1.3 *.java + javac -g:none -target 1.3 -source 1.3 *.java fi } @@ -33,7 +33,6 @@ src_install() { java-pkg_dojar ${PN}.jar echo "#!/bin/sh" > ${PN} - echo "cd /usr/share/${PN}" >> ${PN} - echo "java -cp lib/${PN}.jar JarWizard" >> ${PN} + echo "java -cp \$(java-config -p ${PN}) JarWizard" >> ${PN} dobin ${PN} } |