commit:     cc6a62cb2986ce596ab175392d1b73ba1894b3ef
Author:     Philipp Rösner <rndxelement <AT> protonmail <DOT> com>
AuthorDate: Fri Feb  4 21:58:53 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Feb  5 06:52:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc6a62cb

app-text/mupdf: fixed unconditional BDEPEND

The x11-base/xorg-proto is only needed if the X use flag is enabled.

Closes: https://bugs.gentoo.org/832628
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Philipp Rösner <rndxelement <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24082
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-text/mupdf/mupdf-1.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/mupdf/mupdf-1.19.0.ebuild 
b/app-text/mupdf/mupdf-1.19.0.ebuild
index f88096d3c7b6..6dfeb8c2ecc4 100644
--- a/app-text/mupdf/mupdf-1.19.0.ebuild
+++ b/app-text/mupdf/mupdf-1.19.0.ebuild
@@ -39,7 +39,7 @@ RDEPEND="
        )
 "
 DEPEND="${RDEPEND}"
-BDEPEND="x11-base/xorg-proto
+BDEPEND="X? ( x11-base/xorg-proto )
        virtual/pkgconfig"
 
 PATCHES=(

Reply via email to