public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-scheme/cyclone/
Date: Sun, 16 May 2021 16:50:09 +0000 (UTC)	[thread overview]
Message-ID: <1621183746.e6dbfafcf555016f08a2a1311065372193801616.xgqt@gentoo> (raw)

commit:     e6dbfafcf555016f08a2a1311065372193801616
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Sun May 16 16:48:57 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Sun May 16 16:49:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e6dbfafc

dev-scheme/cyclone: fix compile phase

Closes: https://bugs.gentoo.org/790548
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 dev-scheme/cyclone/cyclone-0.28.0.ebuild | 8 ++++++--
 dev-scheme/cyclone/cyclone-9999.ebuild   | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/dev-scheme/cyclone/cyclone-0.28.0.ebuild b/dev-scheme/cyclone/cyclone-0.28.0.ebuild
index 22ec9778a..59b3cc18e 100644
--- a/dev-scheme/cyclone/cyclone-0.28.0.ebuild
+++ b/dev-scheme/cyclone/cyclone-0.28.0.ebuild
@@ -6,7 +6,7 @@
 
 EAPI=7
 
-inherit flag-o-matic
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Scheme R7RS to C compiler"
 HOMEPAGE="http://justinethier.github.io/cyclone/"
@@ -33,13 +33,17 @@ RDEPEND="
 src_configure() {
 	append-cflags -fPIC -rdynamic -Iinclude
 	append-ldflags -L. -Wl,--export-dynamic
-	tc-export CC
+	tc-export AR CC RANLIB
 }
 
 src_test() {
 	emake test LDFLAGS=""
 }
 
+src_compile() {
+	emake AR="$(tc-getAR)" CC="$(tc-getCC)" CYC_GCC_OPT_FLAGS="${CFLAGS}"
+}
+
 src_install() {
 	einstalldocs
 

diff --git a/dev-scheme/cyclone/cyclone-9999.ebuild b/dev-scheme/cyclone/cyclone-9999.ebuild
index 22ec9778a..59b3cc18e 100644
--- a/dev-scheme/cyclone/cyclone-9999.ebuild
+++ b/dev-scheme/cyclone/cyclone-9999.ebuild
@@ -6,7 +6,7 @@
 
 EAPI=7
 
-inherit flag-o-matic
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Scheme R7RS to C compiler"
 HOMEPAGE="http://justinethier.github.io/cyclone/"
@@ -33,13 +33,17 @@ RDEPEND="
 src_configure() {
 	append-cflags -fPIC -rdynamic -Iinclude
 	append-ldflags -L. -Wl,--export-dynamic
-	tc-export CC
+	tc-export AR CC RANLIB
 }
 
 src_test() {
 	emake test LDFLAGS=""
 }
 
+src_compile() {
+	emake AR="$(tc-getAR)" CC="$(tc-getCC)" CYC_GCC_OPT_FLAGS="${CFLAGS}"
+}
+
 src_install() {
 	einstalldocs
 


             reply	other threads:[~2021-05-16 16:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-16 16:50 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-11-25 17:54 [gentoo-commits] repo/proj/guru:dev commit in: dev-scheme/cyclone/ Maciej Barć
2021-09-25 20:50 Maciej Barć
2021-08-17 14:11 Maciej Barć
2021-08-17 14:11 Maciej Barć
2021-08-09 18:11 Maciej Barć
2021-08-09 18:11 Maciej Barć
2021-07-28 20:43 Maciej Barć
2021-05-17 20:06 Maciej Barć
2021-05-17  8:21 Maciej Barć
2021-05-17  7:46 Maciej Barć
2021-05-16 22:32 Maciej Barć
2021-05-16 20:18 Anna Vyalkova
2021-05-16 17:29 Maciej Barć
2021-05-16 17:01 Maciej Barć
2021-05-16  1:33 Maciej Barć
2021-05-16  1:25 Maciej Barć

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=1621183746.e6dbfafcf555016f08a2a1311065372193801616.xgqt@gentoo \
    --to=xgqt@riseup.net \
    --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