diff options
author | Maciej Barć <xgqt@riseup.net> | 2021-05-16 18:48:57 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@riseup.net> | 2021-05-16 18:49:06 +0200 |
commit | e6dbfafcf555016f08a2a1311065372193801616 (patch) | |
tree | 575114058d7992403f7ccfbef33bc77d20b628a6 /dev-scheme | |
parent | media-video/owncast: new package (diff) | |
download | guru-e6dbfafcf555016f08a2a1311065372193801616.tar.gz guru-e6dbfafcf555016f08a2a1311065372193801616.tar.bz2 guru-e6dbfafcf555016f08a2a1311065372193801616.zip |
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@riseup.net>
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/cyclone/cyclone-0.28.0.ebuild | 8 | ||||
-rw-r--r-- | 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 |