commit:     779460f9e1663e6c5437aaba3192637bba416509
Author:     Mats Lidell <matsl <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  1 12:21:54 2025 +0000
Commit:     Mats Lidell <matsl <AT> gentoo <DOT> org>
CommitDate: Mon Sep  1 12:23:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=779460f9

app-editors/xemacs: disable ccache in src_compile

ccache does not support #embed directive

https://bugs.gentoo.org/959756
Signed-off-by: Mats Lidell <matsl <AT> gentoo.org>

 app-editors/xemacs/xemacs-21.5.36-r2.ebuild | 3 ++-
 app-editors/xemacs/xemacs-21.5.9999.ebuild  | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-editors/xemacs/xemacs-21.5.36-r2.ebuild 
b/app-editors/xemacs/xemacs-21.5.36-r2.ebuild
index 6d8ca659530b..d81731910682 100644
--- a/app-editors/xemacs/xemacs-21.5.36-r2.ebuild
+++ b/app-editors/xemacs/xemacs-21.5.36-r2.ebuild
@@ -65,7 +65,6 @@ src_prepare() {
        eapply "${FILESDIR}/${P}-failing-tests.patch"
        eapply "${FILESDIR}/${P}-failing-tests-2.patch"
        eapply "${FILESDIR}/${P}-configure-postgresql.patch"
-       eapply "${FILESDIR}/${P}-embed.patch"
        eapply_user
 
        eautoconf
@@ -186,6 +185,8 @@ src_configure() {
 }
 
 src_compile() {
+       # bug #959756
+       local -x CCACHE_DISABLE=1
        emake EMACSLOADPATH="${S}"/lisp
 }
 

diff --git a/app-editors/xemacs/xemacs-21.5.9999.ebuild 
b/app-editors/xemacs/xemacs-21.5.9999.ebuild
index ca2519e9d60a..b6aa207a9c9c 100644
--- a/app-editors/xemacs/xemacs-21.5.9999.ebuild
+++ b/app-editors/xemacs/xemacs-21.5.9999.ebuild
@@ -185,6 +185,8 @@ src_configure() {
 }
 
 src_compile() {
+       # bug: #959756
+       local -x CCACHE_DISABLE=1
        emake EMACSLOADPATH="${S}"/lisp
 }
 

Reply via email to