commit:     03617dee8f9bf2344793086434cc98bd809e06aa
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  6 15:56:29 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Tue Mar  6 16:03:13 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03617dee

dev-util/astyle: [QA] fix dolib version for +java

- Remove unused eutils eclass

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-util/astyle/{astyle-3.1.ebuild => astyle-3.1-r1.ebuild} | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-util/astyle/astyle-3.1.ebuild 
b/dev-util/astyle/astyle-3.1-r1.ebuild
similarity index 89%
rename from dev-util/astyle/astyle-3.1.ebuild
rename to dev-util/astyle/astyle-3.1-r1.ebuild
index a84f1e30d84..56d0130f89f 100644
--- a/dev-util/astyle/astyle-3.1.ebuild
+++ b/dev-util/astyle/astyle-3.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils flag-o-matic toolchain-funcs versionator java-pkg-opt-2
+inherit flag-o-matic toolchain-funcs versionator java-pkg-opt-2
 
 DESCRIPTION="Artistic Style is a re-indenter and reformatter for C++, C and 
Java source code"
 HOMEPAGE="http://astyle.sourceforge.net/";
@@ -57,11 +57,11 @@ src_install() {
        # ex: libastyle.so.3
        dosym lib${PN}.so.${PV}.0 
/usr/$(get_libdir)/lib${PN}.so.$(get_major_version)
        if use java ; then
-               dolib.so lib${PN}j.so.${PV}
-               dosym lib${PN}j.so.${PV} 
/usr/$(get_libdir)/lib${PN}j.so.$(get_major_version)
+               dolib.so lib${PN}j.so.${PV}.0
+               dosym lib${PN}j.so.${PV}.0 
/usr/$(get_libdir)/lib${PN}j.so.$(get_major_version)
        fi
        if use static-libs ; then
-               dolib lib${PN}.a
+               dolib.a lib${PN}.a
        fi
        popd >/dev/null || die
        if use examples ; then
@@ -80,6 +80,6 @@ pkg_postinst() {
                elog "deprecated. For more information, consult astyle's 
release notes at"
                elog "http://astyle.sourceforge.net/news.html. To view offline, 
see:"
                elog
-               elog "${ROOT}usr/share/doc/${P}/html"
+               elog "${EROOT%/}/usr/share/doc/${P}/html"
        fi
 }

Reply via email to