From 82ce443a3e0b33747fbc423a34c1ca0300d27692 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Thu, 1 Oct 2015 08:29:12 +0000 Subject: [PATCH] dev-java/jflex: Make use of ${PN} when installing the launcher. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement --- dev-java/jflex/jflex-1.6.0-r2.ebuild | 3 +-- 1 file changed, 1 insertion(+), 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 -- 2.26.2