public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libetonyek/
Date: Thu,  4 Oct 2018 10:31:22 +0000 (UTC)	[thread overview]
Message-ID: <1538649071.dfddd92e53aabb73bfb757f9d464277ab08f774e.asturm@gentoo> (raw)

commit:     dfddd92e53aabb73bfb757f9d464277ab08f774e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  4 10:30:41 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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 <asturm <AT> 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() {


             reply	other threads:[~2018-10-04 10:31 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-04 10:31 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-09 22:05 [gentoo-commits] repo/gentoo:master commit in: app-text/libetonyek/ Andreas Sturmlechner
2025-01-13  0:25 Sam James
2025-01-13  0:25 Sam James
2025-01-13  0:25 Sam James
2025-01-13  0:25 Sam James
2024-11-28 22:51 Andreas Sturmlechner
2024-11-14 18:42 Andreas Sturmlechner
2024-02-20 20:49 Andreas Sturmlechner
2024-02-20  5:56 Sam James
2024-02-17  9:55 Arthur Zamarin
2024-02-12 10:31 Sam James
2024-01-27  0:48 Andreas Sturmlechner
2024-01-27  0:48 Andreas Sturmlechner
2023-02-25 10:27 Andreas Sturmlechner
2022-06-14 15:20 Andreas Sturmlechner
2022-04-27 21:57 Sam James
2022-04-10 10:46 Sam James
2022-02-12 12:13 Andreas K. Hüttel
2022-02-10 20:10 Andreas Sturmlechner
2021-12-29 13:46 Yixun Lan
2021-11-14  5:25 Sam James
2021-06-01 10:48 Sam James
2021-06-01  9:00 Sam James
2021-05-20 18:24 Andreas Sturmlechner
2020-05-31 21:09 Andreas Sturmlechner
2020-05-31 15:40 Mikle Kolyada
2020-05-20 13:35 Mikle Kolyada
2020-05-19 19:36 Mikle Kolyada
2020-03-16 22:04 Andreas Sturmlechner
2020-03-16 21:29 Andreas Sturmlechner
2020-03-16 21:29 Andreas Sturmlechner
2019-10-01 23:43 Andreas Sturmlechner
2019-09-12 20:27 Andreas Sturmlechner
2019-09-12 20:27 Andreas Sturmlechner
2019-08-01 15:13 Aaron Bauman
2019-02-17 17:58 Mikle Kolyada
2019-02-17 15:33 Mikle Kolyada
2018-12-30 20:08 Andreas Sturmlechner
2018-10-04 10:38 Andreas Sturmlechner
2018-10-04  8:49 Andreas Sturmlechner
2018-09-19 18:35 Matt Turner
2018-08-29 10:49 Andreas Sturmlechner
2018-08-24  4:38 Mikle Kolyada
2018-08-24  1:40 Thomas Deutschmann
2018-04-27 21:43 Andreas Sturmlechner
2017-12-29 18:03 Mikle Kolyada
2017-12-26  0:59 Thomas Deutschmann
2017-11-08  8:55 Andreas Sturmlechner
2017-11-08  8:55 Andreas Sturmlechner
2017-08-17 17:06 Michał Górny
2016-12-17 15:57 Andreas Hüttel
2016-11-29 20:27 Andreas Hüttel
2016-11-29 18:41 Agostino Sarubbo
2016-11-29 18:40 Agostino Sarubbo
2016-10-01 22:08 Andreas Hüttel
2016-04-05 22:51 Robin H. Johnson
2016-02-29 13:40 Andreas Hüttel
2016-02-22 17:07 Andreas Hüttel
2016-02-22 17:07 Andreas Hüttel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1538649071.dfddd92e53aabb73bfb757f9d464277ab08f774e.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox