summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-06-29 19:49:31 +0200
committerUlrich Müller <ulm@gentoo.org>2023-07-03 19:50:49 +0200
commit9034a7eb7587b21530a117ffa1a53da28a8560c9 (patch)
tree9b5730e06fa2d6da359a390c7663a434150c67f0 /dev-lang/teyjus
parentsci-mathematics/fricas: Drop trivial Emacs site-init file (diff)
downloadgentoo-9034a7eb7587b21530a117ffa1a53da28a8560c9.tar.gz
gentoo-9034a7eb7587b21530a117ffa1a53da28a8560c9.tar.bz2
gentoo-9034a7eb7587b21530a117ffa1a53da28a8560c9.zip
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@gentoo.org>
Diffstat (limited to 'dev-lang/teyjus')
-rw-r--r--dev-lang/teyjus/files/50teyjus-gentoo.el3
-rw-r--r--dev-lang/teyjus/teyjus-2.1-r2.ebuild7
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"