summaryrefslogtreecommitdiff
path: root/app-text/a2ps
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-06 19:06:57 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-06 19:09:11 +0100
commit95a3df1f3fafdb8e2a7968583c11cb4f720d2c8d (patch)
tree8bf64894901da135eed9be127d806163d3043908 /app-text/a2ps
parentfa9f067257d25779630a5818d8fc3702eaf90e62 (diff)
downloadgentoo-95a3df1f3fafdb8e2a7968583c11cb4f720d2c8d.tar.gz
gentoo-95a3df1f3fafdb8e2a7968583c11cb4f720d2c8d.tar.xz
app-text/a2ps: Revert from linguas_ja to cjk USE flag.
The ebuild applies patches depending on the flag setting. However, these are intrusive, as they change defaults in other locales too (e.g., "tex" is changed to "ptex" in texi2dvia2ps). Therefore this patching should neither depend on LINGUAS, nor on L10N, nor be done unconditionally. For now, change it to be conditional on the cjk flag, which was the solution already used in a previous version of the ebuild. Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-text/a2ps')
-rw-r--r--app-text/a2ps/a2ps-4.14-r6.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-text/a2ps/a2ps-4.14-r6.ebuild b/app-text/a2ps/a2ps-4.14-r6.ebuild
index 0094fa4318f..8d73b88d066 100644
--- a/app-text/a2ps/a2ps-4.14-r6.ebuild
+++ b/app-text/a2ps/a2ps-4.14-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -7,12 +7,12 @@ inherit autotools elisp-common flag-o-matic
DESCRIPTION="Any to PostScript filter"
HOMEPAGE="https://www.gnu.org/software/a2ps/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
- linguas_ja? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
+ cjk? ( mirror://gentoo/${P}-ja_nls.patch.gz )"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="emacs latex linguas_ja nls static-libs userland_BSD userland_GNU vanilla"
+IUSE="cjk emacs latex nls static-libs userland_BSD userland_GNU vanilla"
RESTRICT=test
@@ -39,7 +39,7 @@ src_prepare() {
eapply "${FILESDIR}"/${PN}-4.13c-locale-gentoo.diff
use vanilla || eapply -p0 "${FILESDIR}"/${PN}-4.13-stdout.diff
- if use linguas_ja; then
+ if use cjk; then
eapply "${WORKDIR}"/${P}-ja_nls.patch
# bug #335803
eapply -p0 "${FILESDIR}"/${P}-ja-cleanup.patch