summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2021-07-01 15:23:58 -0400
committerSam James <sam@gentoo.org>2022-04-02 04:07:35 +0100
commitc1d90c29867fe33c76c7d4705da7740b1522cc87 (patch)
treea582e23ad2cd13f27986d0270edfc2b5fc0531aa /media-libs/fontconfig
parentapp-eselect/eselect-fontconfig: drop fontconfig dependency (diff)
downloadgentoo-c1d90c29867fe33c76c7d4705da7740b1522cc87.tar.gz
gentoo-c1d90c29867fe33c76c7d4705da7740b1522cc87.tar.bz2
gentoo-c1d90c29867fe33c76c7d4705da7740b1522cc87.zip
media-libs/fontconfig: install the eselect module in BROOT
This updates the dependencies to put eselect-fontconfig in both BDEPEND and RDEPEND to approximate IDEPEND as closely as possible. (Currently autotools.eclass is blocking EAPI 8 everywhere.) This allows using "eselect fontconfig" commands to configure $ROOT when installing a staging root. Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: David Michael <fedora.dm0@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/21503 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/fontconfig')
-rw-r--r--media-libs/fontconfig/fontconfig-2.13.93.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/media-libs/fontconfig/fontconfig-2.13.93.ebuild b/media-libs/fontconfig/fontconfig-2.13.93.ebuild
index 72b70d969b41..a47819b7d743 100644
--- a/media-libs/fontconfig/fontconfig-2.13.93.ebuild
+++ b/media-libs/fontconfig/fontconfig-2.13.93.ebuild
@@ -41,8 +41,11 @@ RDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
elibc_SunOS? ( sys-libs/libuuid )
virtual/libintl[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"
-PDEPEND="!x86-winnt? ( app-eselect/eselect-fontconfig )
- virtual/ttf-fonts"
+PDEPEND="virtual/ttf-fonts"
+# Put the eselect module in BDEPEND until EAPI 8 is ready for IDEPEND, so that
+# it is natively usable in BROOT to update ROOT when cross-compiling.
+BDEPEND+=" !x86-winnt? ( app-eselect/eselect-fontconfig )"
+RDEPEND+=" !x86-winnt? ( app-eselect/eselect-fontconfig )"
PATCHES=(
"${FILESDIR}"/${PN}-2.10.2-docbook.patch # 310157