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 7F9F6138330 for ; Sun, 7 Jan 2018 16:02:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDA39E08DB; Sun, 7 Jan 2018 16:02:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 BCDC8E08DB for ; Sun, 7 Jan 2018 16:02:09 +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 0F139340CDF for ; Sun, 7 Jan 2018 16:02:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C69AC1A6 for ; Sun, 7 Jan 2018 16:02:07 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1515340902.230e991b0b4664eb888c0d2767a740fb1eb73e10.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/graphviz/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/graphviz/graphviz-2.40.1-r1.ebuild X-VCS-Directories: media-gfx/graphviz/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 230e991b0b4664eb888c0d2767a740fb1eb73e10 X-VCS-Branch: master Date: Sun, 7 Jan 2018 16:02:07 +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: d541de1d-fd66-4abd-8d48-379694d51236 X-Archives-Hash: c5130e86d16e0c5d3c679716438673e7 commit: 230e991b0b4664eb888c0d2767a740fb1eb73e10 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 7 15:42:37 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 7 16:01:42 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=230e991b media-gfx/graphviz: Fix build w/ USE=-examples Not all USE flag combinations build a demo directory. Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-gfx/graphviz/graphviz-2.40.1-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild b/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild index d1f5b49c821..edc5a11b4af 100644 --- a/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild +++ b/media-gfx/graphviz/graphviz-2.40.1-r1.ebuild @@ -257,11 +257,11 @@ src_install() { pkgconfigdir="${EPREFIX}"/usr/$(get_libdir)/pkgconfig \ install - if use !examples; then - rm -r "${ED}"/usr/share/graphviz/demo || die + if ! use examples; then + rm -rf "${ED}"/usr/share/graphviz/demo || die fi - if use !static-libs; then + if ! use static-libs; then find "${ED}" -name '*.la' -delete || die fi