public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hwloc/
Date: Sat, 13 May 2017 19:15:19 +0000 (UTC)	[thread overview]
Message-ID: <1494702909.b94633df167641dea74c92ebca18e6b7215e7a50.soap@gentoo> (raw)

commit:     b94633df167641dea74c92ebca18e6b7215e7a50
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat May 13 19:14:39 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat May 13 19:15:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b94633df

sys-apps/hwloc: Port to EAPI 6

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-apps/hwloc/hwloc-1.11.7.ebuild | 48 +++++++++++++++++++-------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/sys-apps/hwloc/hwloc-1.11.7.ebuild b/sys-apps/hwloc/hwloc-1.11.7.ebuild
index fbff0ec3ca1..0630d0411f9 100644
--- a/sys-apps/hwloc/hwloc-1.11.7.ebuild
+++ b/sys-apps/hwloc/hwloc-1.11.7.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit flag-o-matic cuda autotools-multilib multilib versionator
+inherit autotools cuda flag-o-matic versionator multilib-minimal
 
 MY_PV=v$(get_version_component_range 1-2)
 
@@ -35,36 +35,36 @@ RDEPEND=">=sys-libs/ncurses-5.9-r3:0[${MULTILIB_USEDEP}]
 DEPEND="${RDEPEND}
 	>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
 
+PATCHES=( "${FILESDIR}/${PN}-1.8.1-gl.patch" )
 DOCS=( AUTHORS NEWS README VERSION )
 
-PATCHES=(
-	"${FILESDIR}/${PN}-1.8.1-gl.patch"
-)
-AUTOTOOLS_AUTORECONF=1
-
 src_prepare() {
+	default
+	eautoreconf
+
 	if use cuda ; then
-		append-cflags -I/opt/cuda/include
-		append-cppflags -I/opt/cuda/include
+		append-cflags -I"${EPREFIX}"/opt/cuda/include
+		append-cppflags -I"${EPREFIX}"/opt/cuda/include
 	fi
-	autotools-utils_src_prepare
 }
 
 multilib_src_configure() {
 	export HWLOC_PKG_CONFIG=$(tc-getPKG_CONFIG) #393467
-	use cuda && local LDFLAGS="${LDFLAGS} -L/opt/cuda/$(get_libdir)"
-	local myeconfargs=(
-		--disable-silent-rules
-		--docdir="${EPREFIX}"/usr/share/doc/${PF}
-		$(use_enable cairo)
-		$(use_enable cuda)
-		$(use_enable debug)
-		$(multilib_native_use_enable gl)
-		$(use_enable pci)
-		$(use_enable plugins)
-		$(use_enable numa libnuma)
-		$(use_enable xml libxml2)
+
+	if use cuda ; then
+		local -x LDFLAGS="${LDFLAGS}"
+		append-ldflags -L"${EPREFIX}"/opt/cuda/$(get_libdir)
+	fi
+
+	ECONF_SOURCE=${S} econf \
+		$(use_enable static-libs static) \
+		$(use_enable cairo) \
+		$(use_enable cuda) \
+		$(use_enable debug) \
+		$(multilib_native_use_enable gl) \
+		$(use_enable pci) \
+		$(use_enable plugins) \
+		$(use_enable numa libnuma) \
+		$(use_enable xml libxml2) \
 		$(use_with X x)
-	)
-	autotools-utils_src_configure
 }


             reply	other threads:[~2017-05-13 19:15 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-13 19:15 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-08 11:00 [gentoo-commits] repo/gentoo:master commit in: sys-apps/hwloc/ Patrick Lauer
2024-11-25 23:06 Sam James
2024-11-24 11:02 Sam James
2024-11-23 16:54 Sam James
2024-11-23 16:27 Sam James
2024-07-14 10:41 James Le Cuirot
2024-04-27 10:42 Michał Górny
2023-12-15  6:35 Sam James
2023-12-15  6:35 Sam James
2023-12-08  8:40 Arthur Zamarin
2023-12-08  8:39 Arthur Zamarin
2023-09-14  3:41 Sam James
2023-09-07 23:03 Sam James
2023-09-07 23:03 Sam James
2023-09-07 23:03 Sam James
2023-08-02 17:52 Sam James
2023-07-07 21:22 Sam James
2023-07-04 22:32 Sam James
2023-07-04 22:23 Sam James
2023-07-04 22:23 Sam James
2023-07-04 22:23 Sam James
2023-07-04 22:23 Sam James
2023-06-29  8:55 Sam James
2023-06-29  8:55 Sam James
2023-06-19 13:31 Pacho Ramos
2023-05-16  3:39 Sam James
2023-04-05  1:18 Sam James
2022-12-15  0:52 Sam James
2022-12-04 14:50 Pacho Ramos
2022-10-09  8:55 Agostino Sarubbo
2022-10-09  8:53 Agostino Sarubbo
2022-10-09  8:52 Agostino Sarubbo
2022-10-09  8:48 Agostino Sarubbo
2022-10-09  5:22 Arthur Zamarin
2022-10-08 19:49 Arthur Zamarin
2022-10-08 19:49 Arthur Zamarin
2022-10-08 18:55 Sam James
2022-10-08 18:55 Sam James
2022-07-09  5:57 Sam James
2022-05-19 10:35 WANG Xuerui
2022-03-27  1:33 Sam James
2022-03-27  1:33 Sam James
2022-03-25  3:54 Sam James
2022-03-24 23:58 Sam James
2021-12-27 22:26 Sam James
2021-12-26 20:51 Arthur Zamarin
2021-12-26 19:05 Sam James
2021-12-26 18:41 Arthur Zamarin
2021-12-26 18:40 Arthur Zamarin
2021-12-26  8:08 Agostino Sarubbo
2021-12-26  8:07 Agostino Sarubbo
2021-12-26  3:42 Sam James
2021-12-26  3:41 Sam James
2021-12-01  5:48 Arthur Zamarin
2021-12-01  5:48 Arthur Zamarin
2021-10-29 22:44 Sam James
2021-10-20  0:11 Sam James
2021-10-15  6:00 Agostino Sarubbo
2021-10-14 13:39 Agostino Sarubbo
2021-10-13 20:35 Sam James
2021-07-14 22:45 Marek Szuba
2021-07-05 13:25 Marek Szuba
2021-06-15  5:28 Georgy Yakovlev
2021-06-15  5:28 Georgy Yakovlev
2021-06-15  4:06 Sam James
2020-12-11  9:09 Sergei Trofimovich
2020-12-11  9:09 Sergei Trofimovich
2020-12-11  9:09 Sergei Trofimovich
2020-11-05  8:33 Georgy Yakovlev
2020-08-05 13:53 Agostino Sarubbo
2020-08-04 15:11 Sam James
2020-08-02 12:44 Sergei Trofimovich
2020-08-02 12:04 Sergei Trofimovich
2020-08-02 11:48 Sergei Trofimovich
2020-08-02 11:39 Sergei Trofimovich
2020-07-30 22:49 Sam James
2020-05-18 15:59 Guilherme Amadio
2020-05-11 16:03 Alexys Jacob
2020-05-08  8:25 Alexys Jacob
2020-02-13 21:40 David Seifert
2019-06-12 21:16 Justin Bronder
2019-06-12 18:14 Justin Bronder
2019-06-12 18:14 Justin Bronder
2019-06-12 18:14 Justin Bronder
2019-04-15 20:02 Justin Bronder
2018-10-13 10:07 Mikle Kolyada
2018-09-06 22:12 Georgy Yakovlev
2018-09-05 20:47 Alexey Shvetsov
2018-07-24  9:43 Mart Raudsepp
2018-03-28 20:55 Matt Turner
2018-03-26 16:54 Justin Bronder
2017-06-19 16:16 Alexis Ballier
2017-05-10 23:25 Justin Bronder
2017-05-10 23:25 Justin Bronder
2017-02-10 19:36 Michael Weber
2017-01-14 13:42 Jeroen Roovers
2017-01-12 19:13 Jeroen Roovers
2017-01-02 15:15 Agostino Sarubbo
2016-11-15 14:53 Tobias Klausmann
2016-08-21 17:57 Pacho Ramos
2016-02-15  6:27 Justin Bronder

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=1494702909.b94633df167641dea74c92ebca18e6b7215e7a50.soap@gentoo \
    --to=soap@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