app-editors/emacs: Use env instead of a wrapper script.
authorUlrich Müller <ulm@gentoo.org>
Thu, 22 Feb 2018 08:06:00 +0000 (09:06 +0100)
committerUlrich Müller <ulm@gentoo.org>
Thu, 22 Feb 2018 08:07:26 +0000 (09:07 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-editors/emacs/emacs-25.3-r3.ebuild [moved from app-editors/emacs/emacs-25.3-r2.ebuild with 98% similarity]

similarity index 98%
rename from app-editors/emacs/emacs-25.3-r2.ebuild
rename to app-editors/emacs/emacs-25.3-r3.ebuild
index 46e2a3202827281d8076df4f0b189f2233d0e4c7..8267aedfe4d47c83f43df8e34dd08f572af764c6 100644 (file)
@@ -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 () {