Line
Link Here
|
0 |
-- app-editors/emacs/emacs-27.1-r1.ebuild |
0 |
++ app-editors/emacs/emacs-27.1-r2.ebuild |
Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
EAPI=7 |
4 |
EAPI=7 |
5 |
|
5 |
|
6 |
inherit autotools elisp-common flag-o-matic readme.gentoo-r1 |
6 |
inherit autotools elisp-common flag-o-matic readme.gentoo-r1 toolchain-funcs |
7 |
|
7 |
|
8 |
if [[ ${PV##*.} = 9999 ]]; then |
8 |
if [[ ${PV##*.} = 9999 ]]; then |
9 |
inherit git-r3 |
9 |
inherit git-r3 |
Lines 262-267
Link Here
|
262 |
fi |
262 |
fi |
263 |
fi |
263 |
fi |
264 |
|
264 |
|
|
|
265 |
# Configure a CBUILD directory when cross-compiling to make tools. |
266 |
# Also don't try to execute the binary for dumping during the build. |
267 |
if tc-is-cross-compiler; then |
268 |
mkdir "${S}-build" && cd "${S}-build" || die |
269 |
ECONF_SOURCE="${S}" econf_build --without-all --without-x-toolkit |
270 |
cd - || die |
271 |
myconf+=" --with-dumping=none --with-pdumper" |
272 |
fi |
273 |
|
265 |
econf \ |
274 |
econf \ |
266 |
--program-suffix="-${EMACS_SUFFIX}" \ |
275 |
--program-suffix="-${EMACS_SUFFIX}" \ |
267 |
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \ |
276 |
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \ |
Lines 293-302
Link Here
|
293 |
${myconf} |
302 |
${myconf} |
294 |
} |
303 |
} |
295 |
|
304 |
|
296 |
#src_compile() { |
305 |
src_compile() { |
297 |
# # Disable sandbox when dumping. For the unbelievers, see bug #131505 |
306 |
if tc-is-cross-compiler; then |
298 |
# emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs" |
307 |
# Build native tools for compiling lisp etc. |
299 |
#} |
308 |
emake -C "${S}-build" src |
|
|
309 |
# Save native build tools in the cross-directory. |
310 |
emake lib # Cross-compile dependencies first for timestamps. |
311 |
cp -t lib-src "${S}-build"/lib-src/make-{docfile,fingerprint} |
312 |
# Specify the native Emacs to compile lisp etc. |
313 |
emake blessmail lisp EMACS="${S}-build/src/emacs" |
314 |
fi |
315 |
|
316 |
emake |
317 |
} |
300 |
|
318 |
|
301 |
src_install() { |
319 |
src_install() { |
302 |
emake DESTDIR="${D}" NO_BIN_LINK=t install |
320 |
emake DESTDIR="${D}" NO_BIN_LINK=t install |