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 4B530138DB0 for ; Sat, 15 Oct 2016 17:20:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65D57E0B22; Sat, 15 Oct 2016 17:20:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4C5CEE0B22 for ; Sat, 15 Oct 2016 17:20:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 491A734104D for ; Sat, 15 Oct 2016 17:20:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94B21301 for ; Sat, 15 Oct 2016 17:20:13 +0000 (UTC) From: "Hanno Boeck" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hanno Boeck" Message-ID: <1476552007.3aa2a77ac8097d38a214b5460f2ca890458594dd.hanno@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/unp/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/unp/unp-2.0_pre7_p1-r1.ebuild X-VCS-Directories: app-arch/unp/ X-VCS-Committer: hanno X-VCS-Committer-Name: Hanno Boeck X-VCS-Revision: 3aa2a77ac8097d38a214b5460f2ca890458594dd X-VCS-Branch: master Date: Sat, 15 Oct 2016 17:20:13 +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: 73b78b2b-5787-47d9-a4c8-fddbcbf4a745 X-Archives-Hash: f287e9651b4111f1a5eb76858796f53b commit: 3aa2a77ac8097d38a214b5460f2ca890458594dd Author: Hanno gentoo org> AuthorDate: Sat Oct 15 17:20:07 2016 +0000 Commit: Hanno Boeck gentoo org> CommitDate: Sat Oct 15 17:20:07 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aa2a77a app-arch/unp: fix compilation without LINGUAS variable Fixes bug #597198. Package-Manager: portage-2.3.2 app-arch/unp/unp-2.0_pre7_p1-r1.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild b/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild index 1194f7d..97b3db7 100644 --- a/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild +++ b/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild @@ -28,7 +28,11 @@ PATCHES=( "${FILESDIR}/${P}-remove-deprecated-have.diff" ) src_compile() { if use nls; then strip-linguas -i . - emake -C po MOFILES="${LINGUAS// /.po }.po" + if [ -n "$LINGUAS" ]; then + emake -C po MOFILES="${LINGUAS// /.po }.po" + else + emake -C po + fi fi } @@ -40,6 +44,10 @@ src_install() { dobashcomp bash_completion.d/unp if use nls; then - emake -C po MOFILES="${LINGUAS// /.mo }.mo" DESTDIR="${D}" install + if [ -n "$LINGUAS" ]; then + emake -C po MOFILES="${LINGUAS// /.mo }.mo" DESTDIR="${D}" install + else + emake -C po DESTDIR="${D}" install + fi fi }