sys-apps/openrc: sync live
authorWilliam Hubbs <williamh@gentoo.org>
Wed, 21 Aug 2019 01:48:04 +0000 (20:48 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Wed, 21 Aug 2019 01:48:22 +0000 (20:48 -0500)
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: William Hubbs <williamh@gentoo.org>
sys-apps/openrc/openrc-9999.ebuild

index 6bf7ded639ba723e13710dfde85c9b14b0f316c7..dea79c65bd1c1f09648ade908de70e3395723a35 100644 (file)
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]]; then
        inherit git-r3
 else
        SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
 fi
 
 LICENSE="BSD-2"
@@ -182,12 +182,12 @@ pkg_postinst() {
 
        # Added for 0.35.
        if use kernel_linux && [[ ! -h "${EROOT}"/lib ]]; then
-               if [[ -d "${EROOT}$(get_libdir)"/rc ]]; then
-                       cp -RPp "${EROOT}$(get_libdir)/rc" "${EROOT}"/lib
+               if [[ -d "${EROOT}/$(get_libdir)"/rc ]]; then
+                       cp -RPp "${EROOT}/$(get_libdir)/rc" "${EROOT}"/lib
                fi
        elif ! use kernel_linux; then
-               if [[ -d "${EROOT}$(get_libdir)"/rc ]]; then
-                       cp -RPp "${EROOT}$(get_libdir)/rc" "${EROOT}"/lib
+               if [[ -d "${EROOT}/$(get_libdir)"/rc ]]; then
+                       cp -RPp "${EROOT}/$(get_libdir)/rc" "${EROOT}"/lib
                fi
        fi