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: sci-libs/colpack/
Date: Tue, 15 Dec 2020 11:54:12 +0000 (UTC)	[thread overview]
Message-ID: <1608033211.36e58bd383f463bc43de82b5c0691adf7454915e.soap@gentoo> (raw)

commit:     36e58bd383f463bc43de82b5c0691adf7454915e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 15 11:53:31 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Dec 15 11:53:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36e58bd3

sci-libs/colpack: Remove USE="static-libs"

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-libs/colpack/colpack-1.0.10.ebuild | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/sci-libs/colpack/colpack-1.0.10.ebuild b/sci-libs/colpack/colpack-1.0.10.ebuild
index 9ba8c09a081..b432192067c 100644
--- a/sci-libs/colpack/colpack-1.0.10.ebuild
+++ b/sci-libs/colpack/colpack-1.0.10.ebuild
@@ -1,31 +1,29 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit autotools eutils ltprune toolchain-funcs
+inherit autotools toolchain-funcs
 
 MYPN="ColPack"
 
 DESCRIPTION="C++ algorithms for specialized vertex coloring problems"
-LICENSE="GPL-3 LGPL-3"
 HOMEPAGE="http://cscapes.cs.purdue.edu/coloringpage/"
 SRC_URI="https://github.com/CSCsw/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
+LICENSE="GPL-3 LGPL-3"
 SLOT="0"
-IUSE="openmp static-libs"
 KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
-
-RDEPEND=""
-DEPEND="${RDEPEND}"
+IUSE="openmp"
 
 S="${WORKDIR}/${MYPN}-${PV}"
 
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
 pkg_setup() {
-	if [[ ${MERGE_TYPE} != "binary" ]] && use openmp && [[ $(tc-getCC)$ == *gcc* ]] &&	! tc-has-openmp; then
-		ewarn "You are using gcc without OpenMP"
-		die "Need an OpenMP capable compiler"
-	fi
+	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 src_prepare() {
@@ -36,13 +34,12 @@ src_prepare() {
 
 src_configure() {
 	econf \
-		--enable-shared \
-		$(use_enable static-libs static) \
+		--disable-static \
 		$(use_enable openmp)
 }
 
 src_install() {
 	default
 	rm -rf "${ED}"/usr/examples
-	use static-libs || prune_libtool_files --all
+	find "${ED}" -name '*.la' -delete || die
 }


             reply	other threads:[~2020-12-15 11:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-15 11:54 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-11-14 23:51 [gentoo-commits] repo/gentoo:master commit in: sci-libs/colpack/ Sam James
2021-10-24 21:14 Sam James
2021-10-02 23:17 Sam James
2021-07-14 16:15 Marek Szuba
2020-10-18 19:28 Thomas Deutschmann
2019-11-24  3:36 Aaron Bauman
2017-11-27 19:46 Sergei Trofimovich
2017-11-27 19:46 Sergei Trofimovich
2017-10-24 23:01 Andreas Hüttel
2017-09-30  2:58 Sergei Trofimovich
2017-09-30  2:58 Sergei Trofimovich
2017-07-08  9:25 Alexis Ballier
2017-07-01  9:52 Sergei Trofimovich
2017-07-01  9:52 Sergei Trofimovich
2017-04-29 16:21 Jeroen Roovers
2017-04-29 16:21 Jeroen Roovers
2017-04-05 15:36 Michael Weber
2017-03-07  0:17 Sebastien Fabbro
2016-09-28 22:51 David Seifert
2016-06-07 16:47 Tobias Klausmann

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=1608033211.36e58bd383f463bc43de82b5c0691adf7454915e.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