From e6dbfafcf555016f08a2a1311065372193801616 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sun, 16 May 2021 18:48:57 +0200 Subject: dev-scheme/cyclone: fix compile phase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/790548 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Maciej Barć --- dev-scheme/cyclone/cyclone-0.28.0.ebuild | 8 ++++++-- dev-scheme/cyclone/cyclone-9999.ebuild | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'dev-scheme') 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 -- cgit v1.2.3-65-gdbad