commit: 9034a7eb7587b21530a117ffa1a53da28a8560c9
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 17:49:31 2023 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 3 17:50:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9034a7eb
dev-lang/teyjus: Drop trivial Emacs site-init file
Also drop the the sed command which was a no-op. The site-init file
didn't contain any path in /usr/bin that could be replaced.
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
dev-lang/teyjus/files/50teyjus-gentoo.el | 3 ---
dev-lang/teyjus/teyjus-2.1-r2.ebuild | 7 ++-----
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/dev-lang/teyjus/files/50teyjus-gentoo.el
b/dev-lang/teyjus/files/50teyjus-gentoo.el
deleted file mode 100644
index 7e05cdec7aec..000000000000
--- a/dev-lang/teyjus/files/50teyjus-gentoo.el
+++ /dev/null
@@ -1,3 +0,0 @@
-;;; teyjus site-lisp configuration
-
-(add-to-list 'load-path "@SITELISP@")
diff --git a/dev-lang/teyjus/teyjus-2.1-r2.ebuild
b/dev-lang/teyjus/teyjus-2.1-r2.ebuild
index f6eeceb48b83..b68958a360ab 100644
--- a/dev-lang/teyjus/teyjus-2.1-r2.ebuild
+++ b/dev-lang/teyjus/teyjus-2.1-r2.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
@@ -88,10 +88,7 @@ src_install() {
dodoc README.md QUICKSTART
if use emacs ; then
elisp-install ${PN} emacs/*.{el,elc}
- cp "${FILESDIR}"/${SITEFILE} "${S}"
- sed -e "s@/usr/bin/tjcc@${EPREFIX}/usr/bin/tjcc@" -i
${SITEFILE} \
- || die "Could not set tjcc executable path in emacs
site file"
- elisp-site-file-install ${SITEFILE}
+ elisp-make-site-file "${SITEFILE}"
fi
if use examples; then
ins_example_dir "handbook/logic"