commit: 72ce5380bae5009b8f47b61ccd1f41c54e70952a
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 16 10:49:42 2023 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 16 10:54:20 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ce5380
app-emacs/magit: Update postinst message
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
app-emacs/magit/magit-3.3.0-r3.ebuild | 8 +++++---
app-emacs/magit/magit-9999.ebuild | 8 +++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/app-emacs/magit/magit-3.3.0-r3.ebuild
b/app-emacs/magit/magit-3.3.0-r3.ebuild
index ac91b3d9a7f5..eaee9f6713a7 100644
--- a/app-emacs/magit/magit-3.3.0-r3.ebuild
+++ b/app-emacs/magit/magit-3.3.0-r3.ebuild
@@ -51,7 +51,9 @@ src_prepare() {
pkg_postinst() {
elisp_pkg_postinst
- einfo "magit version 3.3.0 dropped necessity of the app-emacs/libegit2
package"
- einfo "magit after 3.3.0 can now use the git executable directly,"
- einfo "if you need the libegit backend, then please add
app-emacs/libegit2 to @world"
+ if ! use libgit; then
+ einfo "The dependency on app-emacs/libegit2 is optional"
+ einfo "since magit version 3.3.0. Enable the \"libgit\" flag"
+ einfo "if you need the libgit backend."
+ fi
}
diff --git a/app-emacs/magit/magit-9999.ebuild
b/app-emacs/magit/magit-9999.ebuild
index f8f9c547e60d..fd1904e9d6ec 100644
--- a/app-emacs/magit/magit-9999.ebuild
+++ b/app-emacs/magit/magit-9999.ebuild
@@ -49,7 +49,9 @@ src_prepare() {
pkg_postinst() {
elisp_pkg_postinst
- einfo "magit version 3.3.0 dropped necessity of the app-emacs/libegit2
package"
- einfo "magit after 3.3.0 can now use the git executable directly,"
- einfo "if you need the libegit backend, then please add
app-emacs/libegit2 to @world"
+ if ! use libgit; then
+ einfo "The dependency on app-emacs/libegit2 is optional"
+ einfo "since magit version 3.3.0. Enable the \"libgit\" flag"
+ einfo "if you need the libgit backend."
+ fi
}