From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BFA15138332 for ; Sat, 26 May 2018 20:30:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFC8AE0A49; Sat, 26 May 2018 20:30:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9095EE0A49 for ; Sat, 26 May 2018 20:30:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC413335CBD for ; Sat, 26 May 2018 20:30:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E2822AE for ; Sat, 26 May 2018 20:30:51 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1527366586.a5dc6c8c29e7de309f921841e8eb4d2741c80563.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/xorg-2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: a5dc6c8c29e7de309f921841e8eb4d2741c80563 X-VCS-Branch: master Date: Sat, 26 May 2018 20:30:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 359b8b39-4a9f-4696-b5ab-85901ad07abc X-Archives-Hash: f3527ed7e24b902009ad69bfc44739b4 commit: a5dc6c8c29e7de309f921841e8eb4d2741c80563 Author: Matt Turner gentoo org> AuthorDate: Sat May 26 20:25:07 2018 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat May 26 20:29:46 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5dc6c8c xorg-2.eclass: Limit adding IUSE=nls to packages without support Of media-fonts/font-*-misc only font-misc-misc and font-schumacher-misc have nls support. Adding IUSE=nls to the others just causes warnings. Closes: https://bugs.gentoo.org/499800 eclass/xorg-2.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass index f321d69bcbe..08051fe1fa7 100644 --- a/eclass/xorg-2.eclass +++ b/eclass/xorg-2.eclass @@ -156,7 +156,7 @@ if [[ ${FONT} == yes ]]; then # Set up configure options, wrapped so ebuilds can override if need be [[ -z ${FONT_OPTIONS} ]] && FONT_OPTIONS="--with-fontdir=\"${EPREFIX}/usr/share/fonts/${FONT_DIR}\"" - [[ ${PN##*-} = misc || ${PN##*-} = 75dpi || ${PN##*-} = 100dpi || ${PN##*-} = cyrillic ]] && IUSE+=" nls" + [[ ${PN} = font-misc-misc || ${PN} = font-schumacher-misc || ${PN##*-} = 75dpi || ${PN##*-} = 100dpi || ${PN##*-} = cyrillic ]] && IUSE+=" nls" fi # If we're a driver package, then enable DRIVER case