commit:     0d74bc064b54667e514fbc23ca2e61cc8bcd7430
Author:     Mats Lidell <matsl <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 25 17:21:58 2022 +0000
Commit:     Mats Lidell <matsl <AT> gentoo <DOT> org>
CommitDate: Sun Dec 25 17:28:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d74bc06

app-editors/xemacs: update EAPI 7 -> 8

Do not add debug flag on regular builds.
Cleanup: Remove commented out patches.

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

 app-editors/xemacs/xemacs-21.5.9999.ebuild | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/app-editors/xemacs/xemacs-21.5.9999.ebuild 
b/app-editors/xemacs/xemacs-21.5.9999.ebuild
index 2cfa5ff7eba1..c164858b40dd 100644
--- a/app-editors/xemacs/xemacs-21.5.9999.ebuild
+++ b/app-editors/xemacs/xemacs-21.5.9999.ebuild
@@ -4,7 +4,7 @@
 # Note: xemacs currently does not work with position independent code
 # so the build forces the use of the -no-pie option
 
-EAPI=7
+EAPI=8
 
 inherit flag-o-matic xdg-utils desktop
 
@@ -62,14 +62,6 @@ src_unpack() {
 src_prepare() {
        use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* 
"${S}"/etc/toolbar/
        find "${S}"/lisp -name '*.elc' -exec rm {} \; || die
-       # eapply "${FILESDIR}/${P}-ncurses-tinfo.patch"
-       # eapply "${FILESDIR}/${P}-gcc5.patch"
-       # eapply "${FILESDIR}/${P}-glibc-macro.patch"
-       # eapply "${FILESDIR}/${P}-as-needed.patch"
-       # eapply "${FILESDIR}/${P}-configure-libc-version.patch"
-       # eapply "${FILESDIR}/${P}-ar.patch"
-       # eapply "${FILESDIR}/${P}-strsignal.patch"
-       # eapply "${FILESDIR}/${P}-process-test-qa.patch"
 
        eapply_user
 
@@ -166,7 +158,7 @@ src_configure() {
        fi
 
        use debug && myconf="${myconf} --with-debug" ||
-               myconf="${myconf} --with-optimization"
+               myconf="${myconf} --with-optimization --with-cflags-debugging="
 
        econf ${myconf} \
                $(use_with gif ) \

Reply via email to