commit:     6ebe64d48c6d20fbd51ffd411742d8325803a700
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 17:26:27 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jul  3 17:50:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ebe64d4

sci-mathematics/fricas: Drop trivial Emacs site-init file

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 sci-mathematics/fricas/files/64fricas-gentoo.el | 2 --
 sci-mathematics/fricas/fricas-1.3.8-r1.ebuild   | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/sci-mathematics/fricas/files/64fricas-gentoo.el 
b/sci-mathematics/fricas/files/64fricas-gentoo.el
deleted file mode 100644
index bc610ea83925..000000000000
--- a/sci-mathematics/fricas/files/64fricas-gentoo.el
+++ /dev/null
@@ -1,2 +0,0 @@
-;; site-init for sci-mathematics/fricas
-(add-to-list 'load-path "/usr/share/emacs/site-lisp/fricas")

diff --git a/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild 
b/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild
index 056e10ba687e..d3898d2d8e64 100644
--- a/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild
+++ b/sci-mathematics/fricas/fricas-1.3.8-r1.ebuild
@@ -96,7 +96,7 @@ src_install() {
                        -i "${D}"/usr/bin/efricas \
                        || die "sed efricas failed"
                elisp-install ${PN} "${D}"/usr/$(get_libdir)/${PN}/emacs/*.el
-               elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el
+               elisp-make-site-file 64${PN}-gentoo.el
        else
                rm "${D}"/usr/bin/efricas || die "rm efricas failed"
        fi

Reply via email to