app-editors/emacs-vcs: Fix temacs wrapper.
authorUlrich Müller <ulm@gentoo.org>
Mon, 19 Mar 2018 17:52:34 +0000 (18:52 +0100)
committerUlrich Müller <ulm@gentoo.org>
Mon, 19 Mar 2018 18:01:08 +0000 (19:01 +0100)
Disable the sandbox already when "env" is executed, so that the execvp
executing temacs will be the regular one from libc.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-editors/emacs-vcs/emacs-vcs-26.0.90.ebuild
app-editors/emacs-vcs/emacs-vcs-26.0.91.ebuild
app-editors/emacs-vcs/emacs-vcs-26.0.9999-r1.ebuild
app-editors/emacs-vcs/emacs-vcs-27.0.9999.ebuild

index 94fd9a28c83d4d55a24d5d951554ce41e8fb350b..54cf4579f32cc2af23e326b9df72a1977d77e491 100644 (file)
@@ -272,7 +272,7 @@ src_configure() {
 
 src_compile() {
        # Disable sandbox when dumping. For the unbelievers, see bug #131505
-       emake RUN_TEMACS="env SANDBOX_ON=0 LD_PRELOAD= ./temacs"
+       emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
 }
 
 src_install () {
index 94fd9a28c83d4d55a24d5d951554ce41e8fb350b..54cf4579f32cc2af23e326b9df72a1977d77e491 100644 (file)
@@ -272,7 +272,7 @@ src_configure() {
 
 src_compile() {
        # Disable sandbox when dumping. For the unbelievers, see bug #131505
-       emake RUN_TEMACS="env SANDBOX_ON=0 LD_PRELOAD= ./temacs"
+       emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
 }
 
 src_install () {
index 94fd9a28c83d4d55a24d5d951554ce41e8fb350b..54cf4579f32cc2af23e326b9df72a1977d77e491 100644 (file)
@@ -272,7 +272,7 @@ src_configure() {
 
 src_compile() {
        # Disable sandbox when dumping. For the unbelievers, see bug #131505
-       emake RUN_TEMACS="env SANDBOX_ON=0 LD_PRELOAD= ./temacs"
+       emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
 }
 
 src_install () {
index 30c00f9c66d616009e7784963fb60a5bbaacece8..9ad77b5ed1f3e96efe12233423b32ec0f5f15d30 100644 (file)
@@ -272,7 +272,7 @@ src_configure() {
 
 src_compile() {
        # Disable sandbox when dumping. For the unbelievers, see bug #131505
-       emake RUN_TEMACS="env SANDBOX_ON=0 LD_PRELOAD= ./temacs"
+       emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
 }
 
 src_install () {