summaryrefslogtreecommitdiff
path: root/app-emacs/vterm
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/vterm')
-rw-r--r--app-emacs/vterm/Manifest2
-rw-r--r--app-emacs/vterm/vterm-0.0.1_pre20210618.ebuild7
2 files changed, 8 insertions, 1 deletions
diff --git a/app-emacs/vterm/Manifest b/app-emacs/vterm/Manifest
index 84e39c133802..1a0c790e669e 100644
--- a/app-emacs/vterm/Manifest
+++ b/app-emacs/vterm/Manifest
@@ -4,5 +4,5 @@ AUX vterm-0.0.1_pre20210618-dont-compile.patch 772 BLAKE2B 235f1050ccf434663da28
DIST vterm-0.0.1_pre20200713.tar.gz 48160 BLAKE2B 96c45ddb139d19f3020d7a8eebc1ee31a7dc098f47c16cfffc7bf3327261a4366763744a8158d3c8a066ec94be4966a5ef78804db95c9025eee06fb8c9e4aa76 SHA512 17726ad0957daeab2a87b398bfa24dbe3c4c48dfba932138a71cd8c992bf20bd2925a7118a89247bbd674dbecd7fda8663c564a278168bb207034efb03e50cd0
DIST vterm-0.0.1_pre20210618.tar.gz 58389 BLAKE2B 71221d470e01d647093e3a3af0c57b416ef23e81ff4d783d032613e19f1d467752fea0d242ea0f72092e3cdabbdb88ba15a840d9e4116cf5aa95d54a020efe0d SHA512 9e23eff1c9c5d2cc8e970bb4d9910b3e0258987d09b765ece188641ff5e2696e30d59a409f45253f243162b8e71c0ea301049ff37c93ffec1e1c25206ca9c5d2
EBUILD vterm-0.0.1_pre20200713.ebuild 972 BLAKE2B 13876ff1c427de41c5c0e529f7793fabc5850cec6a07551777815ca3d985d442c72cd8b429546397d073ab1987493e8bdffc0308290e99df285883b90af19db9 SHA512 01598b7b2515e3a082bc56676b5f448ce20f978e63c5896475b683715fd8a53a6b63b238c870ae0e3c92218c3049e93b2ec7da3074e04f88cd5739252bfa5773
-EBUILD vterm-0.0.1_pre20210618.ebuild 987 BLAKE2B c91417b70e7290b2b2d4b7de1b878ac0ad496012931a5296ae7196053cbebd1d095dce0cf7bee2a7b215bc3284d0c0922fcc67fa6dd9c51d4212270fafe59e3b SHA512 152f372fd98ab2ead4c4084b3312421483c3e97ac3a88aeb70e5b46c8e99ab5b96a786488997426c708619eced9a257fd8e90abdce88de18c7202f9f8293f536
+EBUILD vterm-0.0.1_pre20210618.ebuild 1242 BLAKE2B 9ccf5d930934d0b3fe78ef29c21ec51e2785ae9077b6d6f81d0f887b4c1eec87019ae1701b4c84021436bb6feea19b211574242ae7dddb5015a25449127e5637 SHA512 2a2c915c097b7f5eb2c4691dedfcf976dfbfd94d9540aeba5829db3c2f10852aa39f36550e84e825cb05e657e592fc19394a073d49a4ce5d7031b6ca41840d64
MISC metadata.xml 633 BLAKE2B 60cd4ca523fa42307493cccbbf5fc240dd658f2c7368e761c94e384e9d363ae8359d0b6e0520be3767b6df38a4d94d9f1ebc3e8983c40d07ffc990428cb863fc SHA512 1ae5bd4bff830550c81d14e8312faf9aa0270ea7bf3e73ad347c20de0fb0d8fbbfe0d1fc807d41c0629e4c3170d9a512abdd5213f200671e63c80afc814fe85b
diff --git a/app-emacs/vterm/vterm-0.0.1_pre20210618.ebuild b/app-emacs/vterm/vterm-0.0.1_pre20210618.ebuild
index 77ce01cdc80f..921cdf52715f 100644
--- a/app-emacs/vterm/vterm-0.0.1_pre20210618.ebuild
+++ b/app-emacs/vterm/vterm-0.0.1_pre20210618.ebuild
@@ -26,6 +26,13 @@ SITEFILE="50${PN}-gentoo.el"
DOCS="README.md"
src_prepare() {
+ if [[ -e ${ESYSROOT}/usr/include/emacs-module.h ]]; then
+ # Use system header file instead of bundled one
+ rm emacs-module.h || die
+ else
+ ewarn "${ESYSROOT}/usr/include/emacs-module.h does not exist"
+ ewarn "Falling back to bundled header file"
+ fi
cmake_src_prepare
}