summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-05 07:00:14 +0000
committerSam James <sam@gentoo.org>2021-02-05 07:00:44 +0000
commita9f700c8c4ea3a0c2b3ef1a9d0f91a1ef0708e7a (patch)
tree12ef43c105d48d107574d1b42547da2a2229949d /app-misc/neofetch
parentapp-misc/neofetch: Gentoo Prefix support (diff)
downloadgentoo-a9f700c8c4ea3a0c2b3ef1a9d0f91a1ef0708e7a.tar.gz
gentoo-a9f700c8c4ea3a0c2b3ef1a9d0f91a1ef0708e7a.tar.bz2
gentoo-a9f700c8c4ea3a0c2b3ef1a9d0f91a1ef0708e7a.zip
app-misc/neofetch: post PR-merge changes
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/neofetch')
-rw-r--r--app-misc/neofetch/neofetch-7.1.0.ebuild9
-rw-r--r--app-misc/neofetch/neofetch-9999.ebuild9
2 files changed, 10 insertions, 8 deletions
diff --git a/app-misc/neofetch/neofetch-7.1.0.ebuild b/app-misc/neofetch/neofetch-7.1.0.ebuild
index 8c04178cf5f3..59e074f92840 100644
--- a/app-misc/neofetch/neofetch-7.1.0.ebuild
+++ b/app-misc/neofetch/neofetch-7.1.0.ebuild
@@ -29,12 +29,13 @@ RDEPEND="sys-apps/pciutils
x11-apps/xwininfo
)"
-export PREFIX=${EPREFIX}/usr
-
-src_prepare () {
+src_prepare() {
if use prefix; then
+ # bug #693526
hprefixify neofetch
- sed -e "/has emerge/s:\${br_prefix}:${EPREFIX}:" -i neofetch
+ sed -e "/has emerge/s:\${br_prefix}:${EPREFIX}:" -i neofetch \
+ || die "Failed to adjust for Prefix"
fi
+
default
}
diff --git a/app-misc/neofetch/neofetch-9999.ebuild b/app-misc/neofetch/neofetch-9999.ebuild
index 7ab81b16a8a6..2d459ec3fbad 100644
--- a/app-misc/neofetch/neofetch-9999.ebuild
+++ b/app-misc/neofetch/neofetch-9999.ebuild
@@ -29,12 +29,13 @@ RDEPEND="sys-apps/pciutils
x11-apps/xwininfo
)"
-export PREFIX=${EPREFIX}/usr
-
-src_prepare () {
+src_prepare() {
if use prefix; then
+ # bug #693526
hprefixify neofetch
- sed -e "/has emerge/s:\${br_prefix}:${EPREFIX}:" -i neofetch
+ sed -e "/has emerge/s:\${br_prefix}:${EPREFIX}:" -i neofetch \
+ || die "Failed to adjust for Prefix"
fi
+
default
}