app-editors/emacs-vcs: Use env instead of a wrapper script.
authorUlrich Müller <ulm@gentoo.org>
Thu, 22 Feb 2018 08:07:10 +0000 (09:07 +0100)
committerUlrich Müller <ulm@gentoo.org>
Thu, 22 Feb 2018 08:07:27 +0000 (09:07 +0100)
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 b332683366c38b86d23bf2911bb097f0916852e9..b77e6ec42e3571a37c73a95bfb702b24467a8853 100644 (file)
@@ -274,15 +274,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 () {
index b332683366c38b86d23bf2911bb097f0916852e9..b77e6ec42e3571a37c73a95bfb702b24467a8853 100644 (file)
@@ -274,15 +274,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 () {
index b332683366c38b86d23bf2911bb097f0916852e9..b77e6ec42e3571a37c73a95bfb702b24467a8853 100644 (file)
@@ -274,15 +274,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 () {
index 9cf901fe95f76f97aa22fa82cfc01a513548f36d..75f4324cd896988accd6c55f749081ef10bb1ef1 100644 (file)
@@ -274,15 +274,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 () {