From 49d30402fafa3571d4d3e1a79b4d08cc90318224 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Mon, 18 Nov 2019 16:36:59 +0100 Subject: [PATCH] app-editors/emacs-vcs: Remove sandbox hack in src_compile. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Configure with explicit option --with-dumping=pdumper to make sure that the portable dumper is used, even for the (unlikely) case that the upstream default would change. Note that (as of today) --with-dumping=unexec breaks the build process, therefore controlling this option with a USE flag wouldn't make sense. Closes: https://bugs.gentoo.org/700182 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Ulrich Müller --- app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild index 832d7156dc3b..baa5e8dff5e0 100644 --- a/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild +++ b/app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild @@ -260,6 +260,7 @@ src_configure() { --without-compress-install \ --without-hesiod \ --without-pop \ + --with-dumping=pdumper \ --with-file-notification=$(usev inotify || usev gfile || echo no) \ $(use_enable acl) \ $(use_with dbus) \ @@ -281,10 +282,10 @@ src_configure() { ${myconf} } -src_compile() { - # Disable sandbox when dumping. For the unbelievers, see bug #131505 - emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs" -} +#src_compile() { +# # Disable sandbox when dumping. For the unbelievers, see bug #131505 +# emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs" +#} src_install () { emake DESTDIR="${D}" NO_BIN_LINK=t install -- 2.26.2