public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/vterm/
Date: Mon,  2 Aug 2021 11:05:46 +0000 (UTC)	[thread overview]
Message-ID: <1627902325.d53c91a7999419a9b67c5eefee48e69c18b12d60.ulm@gentoo> (raw)

commit:     d53c91a7999419a9b67c5eefee48e69c18b12d60
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  2 11:05:03 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Aug  2 11:05:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d53c91a7

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 <AT> gentoo.org>

 app-emacs/vterm/vterm-0.0.1_pre20210618.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/app-emacs/vterm/vterm-0.0.1_pre20210618.ebuild b/app-emacs/vterm/vterm-0.0.1_pre20210618.ebuild
index 77ce01cdc80..921cdf52715 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
 }
 


             reply	other threads:[~2021-08-02 11:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-02 11:05 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-13 20:57 [gentoo-commits] repo/gentoo:master commit in: app-emacs/vterm/ Maciej Barć
2024-08-10 18:55 Arthur Zamarin
2024-07-07 17:06 Ulrich Müller
2024-02-10  4:05 Sam James
2024-01-08 19:22 Maciej Barć
2024-01-08 19:22 Maciej Barć
2023-08-11 16:41 Maciej Barć
2023-07-17 16:53 Arthur Zamarin
2023-05-14 10:29 Andreas Sturmlechner
2023-04-03  0:24 Maciej Barć
2023-01-23  7:57 Maciej Barć
2020-09-02  4:02 Sam James
2020-08-04 15:06 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1627902325.d53c91a7999419a9b67c5eefee48e69c18b12d60.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox