commit:     c1bdf245f2a8f82cd24512f18f72eee1f5052b61
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sat Apr 20 19:33:27 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sat Apr 20 19:33:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=c1bdf245

dmd-r1.eclass: Fix paths in pkg_postinst elog messages

Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>

 eclass/dmd-r1.eclass | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/eclass/dmd-r1.eclass b/eclass/dmd-r1.eclass
index 802e820..90459c2 100644
--- a/eclass/dmd-r1.eclass
+++ b/eclass/dmd-r1.eclass
@@ -331,8 +331,9 @@ dmd-r1_src_install() {
 dmd-r1_pkg_postinst() {
        "${EROOT}"/usr/bin/eselect dlang update dmd
 
-       use examples && elog "Examples can be found in: ${dmd_prefix}/samples"
-       use doc && elog "HTML documentation is in: /usr/share/doc/${PF}/html"
+       use examples &&
+               elog "Examples can be found in: 
${EPREFIX}/usr/lib/${PN}/${SLOT}/samples"
+       use doc && elog "HTML documentation is in: 
${EPREFIX}/usr/share/doc/${PF}/html"
 
        optfeature "additional D development tools" "dev-util/dlang-tools"
 }

Reply via email to