dev-util/astyle: fix on prefix
authorGuilherme Amadio <amadio@gentoo.org>
Wed, 8 Aug 2018 10:02:07 +0000 (12:02 +0200)
committerGuilherme Amadio <amadio@gentoo.org>
Wed, 8 Aug 2018 10:03:01 +0000 (12:03 +0200)
Ebuild functions like dosym already prepend ${EPREFIX},
so it should not be added in this case (leads to double prefix).

Package-Manager: Portage-2.3.45, Repoman-2.3.10

dev-util/astyle/astyle-3.1-r2.ebuild

index 4394e1defb22f7efd2452c20e0c473396b348b13..cc20926263263b4e298f96b4cf35e0d1537fdcfe 100644 (file)
@@ -54,7 +54,7 @@ src_install() {
 
        local libastylename="lib${PN}.so.${PV}.0"
        local libastylejname="lib${PN}j.so.${PV}.0"
-       local libdestdir="${EPREFIX}/usr/$(get_libdir)"
+       local libdestdir="/usr/$(get_libdir)"
 
        dolib.so "${libastylename}"
        dosym "${libastylename}" "${libdestdir}/lib${PN}.so.$(get_major_version)"