public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mats Lidell" <matsl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/xemacs/, app-editors/xemacs/files/
Date: Thu, 26 Sep 2024 16:04:37 +0000 (UTC)	[thread overview]
Message-ID: <1727366664.5cfb56344c1caa63e87ce7e3a890b0f62843d1c7.matsl@gentoo> (raw)

commit:     5cfb56344c1caa63e87ce7e3a890b0f62843d1c7
Author:     Mats Lidell <matsl <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 26 16:00:24 2024 +0000
Commit:     Mats Lidell <matsl <AT> gentoo <DOT> org>
CommitDate: Thu Sep 26 16:04:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cfb5634

app-editors/xemacs: Do not use which in configure

Close: https://bugs.gentoo.org/940218

Signed-off-by: Mats Lidell <matsl <AT> gentoo.org>

 app-editors/xemacs/files/xemacs-21.5.35-which.patch          | 12 ++++++++++++
 .../{xemacs-21.5.35-r2.ebuild => xemacs-21.5.35-r3.ebuild}   |  1 +
 2 files changed, 13 insertions(+)

diff --git a/app-editors/xemacs/files/xemacs-21.5.35-which.patch b/app-editors/xemacs/files/xemacs-21.5.35-which.patch
new file mode 100644
index 000000000000..cf8b554490fc
--- /dev/null
+++ b/app-editors/xemacs/files/xemacs-21.5.35-which.patch
@@ -0,0 +1,12 @@
+diff -r 22f2684b1b82 configure.ac
+--- a/configure.ac	Mon Sep 23 16:24:03 2024 +0100
++++ b/configure.ac	Thu Sep 26 07:57:11 2024 +0200
+@@ -2518,7 +2518,7 @@
+ dnl We need a recent version of makeinfo
+ AC_MSG_CHECKING([for makeinfo >= 4.12])
+ MAKEINFO=
+-for prog in `which -a makeinfo`; do
++for prog in `type -P makeinfo`; do
+   mi_verstr=[`$prog --version | sed -n '1s/^.* \([0-9][0-9.]*\)$/\1/p'`]
+   mi_major=`echo $mi_verstr | cut -d. -f1`
+   mi_minor=`echo $mi_verstr | cut -d. -f2`

diff --git a/app-editors/xemacs/xemacs-21.5.35-r2.ebuild b/app-editors/xemacs/xemacs-21.5.35-r3.ebuild
similarity index 99%
rename from app-editors/xemacs/xemacs-21.5.35-r2.ebuild
rename to app-editors/xemacs/xemacs-21.5.35-r3.ebuild
index 16f96c54d3de..c6d6120f7236 100644
--- a/app-editors/xemacs/xemacs-21.5.35-r2.ebuild
+++ b/app-editors/xemacs/xemacs-21.5.35-r3.ebuild
@@ -63,6 +63,7 @@ src_prepare() {
 	eapply "${FILESDIR}/${P}-configure.patch"
 	eapply "${FILESDIR}/${P}-mule-tests.patch"
 	eapply "${FILESDIR}/${P}-configure-libc-version.patch"
+	eapply "${FILESDIR}/${P}-which.patch"
 
 	eapply_user
 


             reply	other threads:[~2024-09-26 16:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-26 16:04 Mats Lidell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-28 17:30 [gentoo-commits] repo/gentoo:master commit in: app-editors/xemacs/, app-editors/xemacs/files/ Mats Lidell
2025-02-19 18:58 Mats Lidell
2025-01-22 16:01 Mats Lidell
2024-11-01 22:48 Mats Lidell
2024-10-18 20:38 Mats Lidell
2024-09-28 20:28 Mats Lidell
2024-03-09 15:27 Mats Lidell
2022-06-16 21:16 Mats Lidell
2020-08-30 18:11 Mats Lidell
2020-01-12 19:15 Mats Lidell
2020-01-11 16:50 Mats Lidell
2019-07-09  8:25 Mats Lidell
2017-03-31 20:02 Mats Lidell
2016-04-03  0:04 Mats Lidell

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=1727366664.5cfb56344c1caa63e87ce7e3a890b0f62843d1c7.matsl@gentoo \
    --to=matsl@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