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
default
# Do not use the sandbox, or the dumped Emacs will be twice as large
- sed -i -e 's:\./temacs.*dump:env SANDBOX_ON=0 LD_PRELOAD= &:' \
+ sed -i -e 's:\./temacs.*dump:SANDBOX_ON=0 LD_PRELOAD= env &:' \
src/ymakefile || die
}
emake CC="$(tc-getCC)" \
AR="$(tc-getAR) cq" \
RANLIB="$(tc-getRANLIB)" \
- RUN_TEMACS="env SANDBOX_ON=0 LD_PRELOAD= ./temacs"
+ RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
}
src_install () {
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 () {
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 () {