public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/mccs/files/, sci-mathematics/mccs/
Date: Tue,  3 May 2022 20:21:37 +0000 (UTC)	[thread overview]
Message-ID: <1651609294.e8e0f024a20aa6b85dea57aaa6ba91082d6ff943.Alessandro-Barbieri@gentoo> (raw)

commit:     e8e0f024a20aa6b85dea57aaa6ba91082d6ff943
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue May  3 18:17:36 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue May  3 20:21:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8e0f024

sci-mathematics/mccs: respect AR

Closes: https://bugs.gentoo.org/842333
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sci-mathematics/mccs/files/mccs-1.1-respect-AR.patch | 11 +++++++++++
 sci-mathematics/mccs/mccs-1.1.ebuild                 |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/mccs/files/mccs-1.1-respect-AR.patch b/sci-mathematics/mccs/files/mccs-1.1-respect-AR.patch
new file mode 100644
index 000000000..5bd7f124c
--- /dev/null
+++ b/sci-mathematics/mccs/files/mccs-1.1-respect-AR.patch
@@ -0,0 +1,11 @@
+--- a/makefile
++++ b/makefile
+@@ -160,7 +160,7 @@
+ #----------------------------------------------------------------------------------
+ 
+ libccudf.a: $(OBJDIR)/cudf.tab.o $(OBJDIR)/cudf.l.o $(OBJDIR)/cudf_hash_table.o $(OBJDIR)/cudf_tools.o
+-	ar rcs libccudf.a $(OBJDIR)/cudf.tab.o $(OBJDIR)/cudf.l.o $(OBJDIR)/cudf_hash_table.o $(OBJDIR)/cudf_tools.o
++	$(AR) rcs libccudf.a $(OBJDIR)/cudf.tab.o $(OBJDIR)/cudf.l.o $(OBJDIR)/cudf_hash_table.o $(OBJDIR)/cudf_tools.o
+ 
+ libccudf.so: $(OBJDIR)/cudf.tab.o $(OBJDIR)/cudf.l.o $(OBJDIR)/cudf_hash_table.o $(OBJDIR)/cudf_tools.o
+ 	$(CCC) -shared -Wl,-soname,libccudf.so -o libccudf.so \

diff --git a/sci-mathematics/mccs/mccs-1.1.ebuild b/sci-mathematics/mccs/mccs-1.1.ebuild
index bc93d919a..ee3a56aaa 100644
--- a/sci-mathematics/mccs/mccs-1.1.ebuild
+++ b/sci-mathematics/mccs/mccs-1.1.ebuild
@@ -39,6 +39,7 @@ src_prepare() {
 	eapply "${FILESDIR}/${P}-respect-flags.patch"
 	eapply "${FILESDIR}/${P}-glpk.patch"
 	eapply "${FILESDIR}/${P}-fix-Wl.patch"
+	eapply "${FILESDIR}/${P}-respect-AR.patch"
 	eapply_user
 
 	if use glpk; then
@@ -55,7 +56,7 @@ src_prepare() {
 }
 
 src_compile() {
-	tc-export CXX
+	tc-export AR CXX
 	append-cxxflags "-std=c++14"
 	MAKEOPTS="-j1" emake libccudf.so
 	MAKEOPTS="-j1" emake mccs


             reply	other threads:[~2022-05-03 20:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03 20:21 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-29  1:48 [gentoo-commits] repo/proj/guru:dev commit in: sci-mathematics/mccs/files/, sci-mathematics/mccs/ Alessandro Barbieri
2022-04-28  7:45 Alessandro Barbieri

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=1651609294.e8e0f024a20aa6b85dea57aaa6ba91082d6ff943.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --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