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 B9883138334 for ; Thu, 4 Oct 2018 10:31:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54ECFE0898; Thu, 4 Oct 2018 10:31:27 +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 30D0FE0898 for ; Thu, 4 Oct 2018 10:31:25 +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 ED82A335C38 for ; Thu, 4 Oct 2018 10:31:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 332992C6 for ; Thu, 4 Oct 2018 10:31:22 +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: <1538649071.dfddd92e53aabb73bfb757f9d464277ab08f774e.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libetonyek/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/libetonyek/libetonyek-0.1.8-r1.ebuild app-text/libetonyek/libetonyek-9999.ebuild X-VCS-Directories: app-text/libetonyek/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: dfddd92e53aabb73bfb757f9d464277ab08f774e X-VCS-Branch: master Date: Thu, 4 Oct 2018 10:31:22 +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: a872d5c7-bb86-4286-9b27-562046fcfb35 X-Archives-Hash: d65568b1779ea428e70d80bd9a70d611 commit: dfddd92e53aabb73bfb757f9d464277ab08f774e Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Oct 4 10:30:41 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Oct 4 10:31:11 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfddd92e app-text/libetonyek: Dumb down dev-util/mdds pseudo slot detection The previous solution was not that smart after all. Signed-off-by: Andreas Sturmlechner gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 app-text/libetonyek/libetonyek-0.1.8-r1.ebuild | 20 ++++++++++++-------- app-text/libetonyek/libetonyek-9999.ebuild | 20 ++++++++++++-------- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/app-text/libetonyek/libetonyek-0.1.8-r1.ebuild b/app-text/libetonyek/libetonyek-0.1.8-r1.ebuild index 2d13eaf89aa..e58d47644ac 100644 --- a/app-text/libetonyek/libetonyek-0.1.8-r1.ebuild +++ b/app-text/libetonyek/libetonyek-0.1.8-r1.ebuild @@ -46,15 +46,19 @@ src_prepare() { } src_configure() { - # mdds installs versioned pkgconfig files - local p=$(best_version dev-util/mdds) - local pv=$(echo ${p/%-r[0-9]*/} | rev | cut -d - -f 1 | rev) - econf \ - --disable-werror \ - --with-mdds=$(ver_cut 1-2 ${pv}) \ - $(use_with doc docs) \ - $(use_enable static-libs static) \ + local myeconfargs=( + --disable-werror + $(use_with doc docs) + $(use_enable static-libs static) $(use_enable test tests) + ) + if has_version ">=dev-util/mdds-1.4"; then + myeconfargs+=( --with-mdds=1.4 ) + else + myeconfargs+=( --with-mdds=1.2 ) + fi + + econf "${myeconfargs[@]}" } src_install() { diff --git a/app-text/libetonyek/libetonyek-9999.ebuild b/app-text/libetonyek/libetonyek-9999.ebuild index 682cf934b09..434fddd7f1a 100644 --- a/app-text/libetonyek/libetonyek-9999.ebuild +++ b/app-text/libetonyek/libetonyek-9999.ebuild @@ -39,15 +39,19 @@ src_prepare() { } src_configure() { - # mdds installs versioned pkgconfig files - local p=$(best_version dev-util/mdds) - local pv=$(echo ${p/%-r[0-9]*/} | rev | cut -d - -f 1 | rev) - econf \ - --disable-werror \ - --with-mdds=$(ver_cut 1-2 ${pv}) \ - $(use_with doc docs) \ - $(use_enable static-libs static) \ + local myeconfargs=( + --disable-werror + $(use_with doc docs) + $(use_enable static-libs static) $(use_enable test tests) + ) + if has_version ">=dev-util/mdds-1.4"; then + myeconfargs+=( --with-mdds=1.4 ) + else + myeconfargs+=( --with-mdds=1.2 ) + fi + + econf "${myeconfargs[@]}" } src_install() {