commit:     7867e4d3090b2c6c9bb667d2fac92549071b61cb
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sun Sep 24 20:58:48 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 22:26:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7867e4d3

app-text/scdoc: fix install on Prefix

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Closes: https://github.com/gentoo/gentoo/pull/33040
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/scdoc/scdoc-1.11.2-r1.ebuild | 4 ++--
 app-text/scdoc/scdoc-9999.ebuild      | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/app-text/scdoc/scdoc-1.11.2-r1.ebuild 
b/app-text/scdoc/scdoc-1.11.2-r1.ebuild
index cb92a9c00651..35243659e867 100644
--- a/app-text/scdoc/scdoc-1.11.2-r1.ebuild
+++ b/app-text/scdoc/scdoc-1.11.2-r1.ebuild
@@ -40,6 +40,6 @@ src_compile() {
 }
 
 src_install() {
-       emake DESTDIR="${ED}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}" \
-               PCDIR="/usr/$(get_libdir)/pkgconfig" install
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}" \
+               PCDIR="${EPREFIX}/usr/$(get_libdir)/pkgconfig" install
 }

diff --git a/app-text/scdoc/scdoc-9999.ebuild b/app-text/scdoc/scdoc-9999.ebuild
index 1e3c06c1ea69..938aa8493a7c 100644
--- a/app-text/scdoc/scdoc-9999.ebuild
+++ b/app-text/scdoc/scdoc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -40,6 +40,6 @@ src_compile() {
 }
 
 src_install() {
-       emake DESTDIR="${ED}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}" \
-               PCDIR="/usr/$(get_libdir)/pkgconfig" install
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}" \
+               PCDIR="${EPREFIX}/usr/$(get_libdir)/pkgconfig" install
 }

Reply via email to