summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-10-01 08:29:12 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-10-01 08:29:12 +0000
commit82ce443a3e0b33747fbc423a34c1ca0300d27692 (patch)
treed90e3eb2ef5e35209d3867dd6e307b4dd8f8792a /dev-java/jflex
parentprofiles: Mask dev-java/xmlc for removal. See bug 561954. (diff)
downloadgentoo-82ce443a3e0b33747fbc423a34c1ca0300d27692.tar.gz
gentoo-82ce443a3e0b33747fbc423a34c1ca0300d27692.tar.bz2
gentoo-82ce443a3e0b33747fbc423a34c1ca0300d27692.zip
dev-java/jflex: Make use of ${PN} when installing the launcher.
Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/jflex')
-rw-r--r--dev-java/jflex/jflex-1.6.0-r2.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/dev-java/jflex/jflex-1.6.0-r2.ebuild b/dev-java/jflex/jflex-1.6.0-r2.ebuild
index 1ea7715b68e5..0ceee0a9cde7 100644
--- a/dev-java/jflex/jflex-1.6.0-r2.ebuild
+++ b/dev-java/jflex/jflex-1.6.0-r2.ebuild
@@ -51,7 +51,6 @@ EANT_GENTOO_CLASSPATH_EXTRA="lib/${P}.jar"
# Currently, this package uses an included JFlex.jar file to bootstrap.
# Upstream was contacted and this bootstrap is really needed. The only way to
# avoid it would be to use a supplied pre-compiled .scanner file.
-
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="
ant-core
@@ -76,7 +75,7 @@ src_test() {
src_install() {
java-pkg_newjar build/${P}.jar ${PN}.jar
- java-pkg_dolauncher "${PN}" --main jflex.Main
+ java-pkg_dolauncher "${PN}" --main "${PN}.Main"
java-pkg_register-ant-task
if use doc ; then