summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-07-16 12:49:42 +0200
committerUlrich Müller <ulm@gentoo.org>2023-07-16 12:54:20 +0200
commit72ce5380bae5009b8f47b61ccd1f41c54e70952a (patch)
tree4c5c0f48c0a960adceec1bdc4e9185f8674de597 /app-emacs/magit
parentnet-fs/samba: add 4.18.4 (diff)
downloadgentoo-72ce5380bae5009b8f47b61ccd1f41c54e70952a.tar.gz
gentoo-72ce5380bae5009b8f47b61ccd1f41c54e70952a.tar.bz2
gentoo-72ce5380bae5009b8f47b61ccd1f41c54e70952a.zip
app-emacs/magit: Update postinst message
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs/magit')
-rw-r--r--app-emacs/magit/magit-3.3.0-r3.ebuild8
-rw-r--r--app-emacs/magit/magit-9999.ebuild8
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
}