From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/emacs:master commit in: app-xemacs/ebuild-mode/
Date: Wed, 28 Aug 2024 17:16:04 +0000 (UTC) [thread overview]
Message-ID: <1724865337.469c826d79bde7159871b5303d4153bd831b5759.ulm@gentoo> (raw)
commit: 469c826d79bde7159871b5303d4153bd831b5759
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 28 17:15:37 2024 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Aug 28 17:15:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=469c826d
app-xemacs/ebuild-mode: Assign EMACS and EMACSFLAGS in global scope
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
app-xemacs/ebuild-mode/ebuild-mode-9999.ebuild | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/app-xemacs/ebuild-mode/ebuild-mode-9999.ebuild b/app-xemacs/ebuild-mode/ebuild-mode-9999.ebuild
index 9205e6d..8cd372d 100644
--- a/app-xemacs/ebuild-mode/ebuild-mode-9999.ebuild
+++ b/app-xemacs/ebuild-mode/ebuild-mode-9999.ebuild
@@ -28,15 +28,16 @@ BDEPEND="${RDEPEND}
app-xemacs/test-harness
) )"
-src_compile() {
- local EMACS="${EPREFIX}/usr/bin/xemacs"
+EMACS="${EPREFIX}/usr/bin/xemacs"
+EMACSFLAGS="-batch -q --no-site-file"
- "${EMACS}" -batch -q --no-site-file \
+src_compile() {
+ ${EMACS} ${EMACSFLAGS} \
-eval "(add-to-list 'load-path nil)" \
-f batch-byte-compile \
ebuild-mode.el gentoo-newsitem-mode.el || die
- "${EMACS}" -batch -q --no-site-file \
+ ${EMACS} ${EMACSFLAGS} \
-eval "(setq autoload-package-name \"${PN}\")" \
-eval "(setq generated-autoload-file \"${S}/auto-autoloads.el\")" \
-l autoload -f batch-update-autoloads \
@@ -44,12 +45,13 @@ src_compile() {
}
src_test() {
- emake check EMACS="${EPREFIX}/usr/bin/xemacs"
+ emake check EMACS="${EMACS}" EMACSFLAGS="${EMACSFLAGS}"
}
src_install() {
insinto /usr/lib/xemacs/site-packages/lisp/${PN}
- doins ebuild-mode.{el,elc} gentoo-newsitem-mode.{el,elc} auto-autoloads.el
+ doins ebuild-mode.{el,elc} gentoo-newsitem-mode.{el,elc}
+ doins auto-autoloads.el
}
pkg_postinst() {
next reply other threads:[~2024-08-28 17:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-28 17:16 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-03 18:42 [gentoo-commits] repo/proj/emacs:master commit in: app-xemacs/ebuild-mode/ Ulrich Müller
2024-11-03 17:54 Ulrich Müller
2024-09-07 15:15 Ulrich Müller
2024-08-26 4:41 Ulrich Müller
2024-08-25 16:13 Ulrich Müller
2024-08-25 13:09 Ulrich Müller
2024-08-15 17:31 Ulrich Müller
2024-08-10 17:19 Ulrich Müller
2022-12-27 13:21 Ulrich Müller
2021-04-07 15:14 Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1724865337.469c826d79bde7159871b5303d4153bd831b5759.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox