From 9034a7eb7587b21530a117ffa1a53da28a8560c9 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Thu, 29 Jun 2023 19:49:31 +0200 Subject: dev-lang/teyjus: Drop trivial Emacs site-init file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- dev-lang/teyjus/files/50teyjus-gentoo.el | 3 --- dev-lang/teyjus/teyjus-2.1-r2.ebuild | 7 ++----- 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 dev-lang/teyjus/files/50teyjus-gentoo.el 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" -- cgit v1.2.3-65-gdbad