diff options
author | 2021-01-19 10:11:39 -0800 | |
---|---|---|
committer | 2021-01-19 10:14:43 -0800 | |
commit | 5fc4b2c3355efac3d2543edc617eab71bb4d8cd7 (patch) | |
tree | 5abb8fc75c10b9e1662845c7c2aae79a42aaddea /sys-apps/groff | |
parent | profiles: mask groff[uchardet] on hppa, riscv and prefix (diff) | |
download | gentoo-5fc4b2c3355efac3d2543edc617eab71bb4d8cd7.tar.gz gentoo-5fc4b2c3355efac3d2543edc617eab71bb4d8cd7.tar.bz2 gentoo-5fc4b2c3355efac3d2543edc617eab71bb4d8cd7.zip |
sys-apps/groff: add uchardet flag to prevent automagic dep
Bug: https://bugs.gentoo.org/750032
Closes: https://bugs.gentoo.org/709720
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-apps/groff')
-rw-r--r-- | sys-apps/groff/groff-1.22.4.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/groff/metadata.xml | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sys-apps/groff/groff-1.22.4.ebuild b/sys-apps/groff/groff-1.22.4.ebuild index 8ddffb888635..0d89c116a831 100644 --- a/sys-apps/groff/groff-1.22.4.ebuild +++ b/sys-apps/groff/groff-1.22.4.ebuild @@ -16,9 +16,10 @@ LICENSE="GPL-2" SLOT="0" [[ "${PV}" == *_rc* ]] || \ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="examples X" +IUSE="examples uchardet X" RDEPEND=" + uchardet? ( app-i18n/uchardet ) X? ( x11-libs/libX11 x11-libs/libXt @@ -62,6 +63,7 @@ src_prepare() { src_configure() { local myeconfargs=( --with-appresdir="${EPREFIX}"/usr/share/X11/app-defaults + $(use_with uchardet) $(use_with X x) ) econf "${myeconfargs[@]}" diff --git a/sys-apps/groff/metadata.xml b/sys-apps/groff/metadata.xml index 56c124413057..b96055e1c5a3 100644 --- a/sys-apps/groff/metadata.xml +++ b/sys-apps/groff/metadata.xml @@ -5,4 +5,7 @@ <email>base-system@gentoo.org</email> <name>Gentoo Base System</name> </maintainer> +<use> + <flag name="uchardet">Enable automatic encoding detection via <pkg>app-i18n/uchardet</pkg></flag> +</use> </pkgmetadata> |