diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-08-02 13:05:03 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-08-02 13:05:25 +0200 |
commit | d53c91a7999419a9b67c5eefee48e69c18b12d60 (patch) | |
tree | 4b55efb5923be8898763c8536178eed0381ed66c /app-emacs | |
parent | net-mail/mailutils: cleanup (diff) | |
download | gentoo-d53c91a7999419a9b67c5eefee48e69c18b12d60.tar.gz gentoo-d53c91a7999419a9b67c5eefee48e69c18b12d60.tar.bz2 gentoo-d53c91a7999419a9b67c5eefee48e69c18b12d60.zip |
app-emacs/vterm: Use system header file instead of bundled one
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/vterm/vterm-0.0.1_pre20210618.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
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 } |