commit:     c006251e61a1f6a934225b0626a1f873950eeb59
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Thu Mar 12 09:21:49 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 11:17:06 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c006251e

x11-terms/ghostty: depend on either zig-bin or source build

In my initial ebuild attempt I messed up and added only the source
build (which worked for me since I'm using the source build myself).
This breaks things for zig-bin users.

Bug: https://bugs.gentoo.org/971106
Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45922
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-terms/ghostty/ghostty-1.3.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/x11-terms/ghostty/ghostty-1.3.0.ebuild 
b/x11-terms/ghostty/ghostty-1.3.0.ebuild
index 886a597459c5..eba12d01062c 100644
--- a/x11-terms/ghostty/ghostty-1.3.0.ebuild
+++ b/x11-terms/ghostty/ghostty-1.3.0.ebuild
@@ -94,7 +94,10 @@ RDEPEND="
        ~x11-terms/ghostty-terminfo-${PV}
 "
 BDEPEND="
-       >=dev-lang/zig-0.15.2
+       || (
+               >=dev-lang/zig-bin-0.15.2
+               >=dev-lang/zig-0.15.2
+       )
        man? ( virtual/pandoc )
        nls? ( sys-devel/gettext )
 "

Reply via email to