diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-12 12:46:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-12 12:46:41 +0000 |
commit | 0c97119fc8982c1a6f367de25542834e4dd6cda4 (patch) | |
tree | dad39da062cf02375ff493ad8b9a147a1b906a2c /app-editors/xemacs/xemacs-21.5.9999.ebuild | |
parent | c6e62298405d39e635c0d8dd6e026c8cb667a478 (diff) |
gentoo auto-resync : 12:03:2024 - 12:46:41
Diffstat (limited to 'app-editors/xemacs/xemacs-21.5.9999.ebuild')
-rw-r--r-- | app-editors/xemacs/xemacs-21.5.9999.ebuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/app-editors/xemacs/xemacs-21.5.9999.ebuild b/app-editors/xemacs/xemacs-21.5.9999.ebuild index 15945ea32285..172643503b1d 100644 --- a/app-editors/xemacs/xemacs-21.5.9999.ebuild +++ b/app-editors/xemacs/xemacs-21.5.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Note: xemacs currently does not work with position independent code @@ -6,7 +6,7 @@ EAPI=8 -inherit flag-o-matic xdg-utils desktop +inherit flag-o-matic xdg-utils desktop autotools DESCRIPTION="highly customizable open source text editor and application development system" HOMEPAGE="https://www.xemacs.org/" @@ -64,9 +64,12 @@ src_prepare() { use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/ find "${S}"/lisp -name '*.elc' -exec rm {} \; || die eapply "${FILESDIR}/${PN}-21.5.35-mule-tests.patch" + eapply "${FILESDIR}/${PN}-21.5.35-configure-libc-version.patch" eapply_user + eautoconf + # Some binaries and man pages are installed under suffixed names # to avoid collions with their GNU Emacs counterparts (see below). # Fix internal filename references. @@ -155,8 +158,13 @@ src_configure() { myconf="${myconf} --without-database" fi - use debug && myconf="${myconf} --with-debug" || + if use debug ; then + myconf="${myconf} --with-debug" + # bug #924339 + append-flags -fno-strict-aliasing + else myconf="${myconf} --with-optimization --with-cflags-debugging=" + fi use bignum && myconf="${myconf} --with-bignum=openssl" || myconf="${myconf} --with-bignum=no" |