commit:     01327f5b04c79c32a0a1874dc4e93267b39348b6
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 22 08:06:00 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 22 08:07:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01327f5b

app-editors/emacs: Use env instead of a wrapper script.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../emacs/{emacs-25.3-r2.ebuild => emacs-25.3-r3.ebuild}       | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/app-editors/emacs/emacs-25.3-r2.ebuild 
b/app-editors/emacs/emacs-25.3-r3.ebuild
similarity index 98%
rename from app-editors/emacs/emacs-25.3-r2.ebuild
rename to app-editors/emacs/emacs-25.3-r3.ebuild
index 46e2a320282..8267aedfe4d 100644
--- a/app-editors/emacs/emacs-25.3-r2.ebuild
+++ b/app-editors/emacs/emacs-25.3-r3.ebuild
@@ -238,15 +238,7 @@ src_configure() {
 
 src_compile() {
        # Disable sandbox when dumping. For the unbelievers, see bug #131505
-       cat >src/temacs-wrapper <<-'EOF' || die
-               #!/bin/bash
-               export SANDBOX_ON=0
-               unset LD_PRELOAD
-               exec ./temacs "$@"
-       EOF
-       chmod +x src/temacs-wrapper || die
-
-       emake RUN_TEMACS="./temacs-wrapper"
+       emake RUN_TEMACS="env SANDBOX_ON=0 LD_PRELOAD= ./temacs"
 }
 
 src_install () {

Reply via email to