diff options
author | 2023-05-14 11:28:25 +0200 | |
---|---|---|
committer | 2023-05-14 11:31:05 +0200 | |
commit | 937aee1b335b4cc58d2d2da130f6200b68299a39 (patch) | |
tree | d6913d03b80cd3e1e24399ab2a29214a16693527 /app-editors/emacs/emacs-29.0.9999-r1.ebuild | |
parent | media-libs/kimageannotator: Stabilize 0.6.0 amd64, #906320 (diff) | |
download | gentoo-937aee1b335b4cc58d2d2da130f6200b68299a39.tar.gz gentoo-937aee1b335b4cc58d2d2da130f6200b68299a39.tar.bz2 gentoo-937aee1b335b4cc58d2d2da130f6200b68299a39.zip |
app-editors/emacs: Add valgrind support
Closes: https://bugs.gentoo.org/906315
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors/emacs/emacs-29.0.9999-r1.ebuild')
-rw-r--r-- | app-editors/emacs/emacs-29.0.9999-r1.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app-editors/emacs/emacs-29.0.9999-r1.ebuild b/app-editors/emacs/emacs-29.0.9999-r1.ebuild index 4b9556db2893..d47ea6f5e379 100644 --- a/app-editors/emacs/emacs-29.0.9999-r1.ebuild +++ b/app-editors/emacs/emacs-29.0.9999-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools elisp-common readme.gentoo-r1 toolchain-funcs +inherit autotools elisp-common flag-o-matic readme.gentoo-r1 toolchain-funcs if [[ ${PV##*.} = 9999 ]]; then inherit git-r3 @@ -40,7 +40,7 @@ DESCRIPTION="The extensible, customizable, self-documenting real-time display ed HOMEPAGE="https://www.gnu.org/software/emacs/" LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2" -IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gfile gif +gmp gpm gsettings gtk gui gzip-el harfbuzz imagemagick +inotify jit jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source sqlite ssl svg systemd +threads tiff toolkit-scroll-bars tree-sitter webp wide-int +X Xaw3d xft +xpm xwidgets zlib" +IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gfile gif +gmp gpm gsettings gtk gui gzip-el harfbuzz imagemagick +inotify jit jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source sqlite ssl svg systemd +threads tiff toolkit-scroll-bars tree-sitter valgrind webp wide-int +X Xaw3d xft +xpm xwidgets zlib" X_DEPEND="x11-libs/libICE x11-libs/libSM @@ -116,6 +116,7 @@ RDEPEND="app-emacs/emacs-common[games?,gui(-)?] ssl? ( net-libs/gnutls:0= ) systemd? ( sys-apps/systemd ) tree-sitter? ( dev-libs/tree-sitter ) + valgrind? ( dev-util/valgrind ) zlib? ( sys-libs/zlib ) gui? ( gif? ( media-libs/giflib:0= ) @@ -369,6 +370,9 @@ src_configure() { } src_compile() { + export ac_cv_header_valgrind_valgrind_h=$(usex valgrind) + append-cppflags -DUSE_VALGRIND=$(usex valgrind) + if tc-is-cross-compiler; then # Build native tools for compiling lisp etc. emake -C "${S}-build" src |