Summary: | app-text/scdoc calls cc directly | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Aisha Tammy <gentoo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bman |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/18032 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2020-04-20 10:16:00 UTC
Created attachment 633830 [details]
build.log
build log and emerge --info
For my system the following patch seems to be enough: --- a/app-text/scdoc/scdoc-1.11.0.ebuild +++ b/app-text/scdoc/scdoc-1.11.0.ebuild @@ -35,7 +35,7 @@ src_compile() { CFLAGS="${BUILD_CFLAGS} -DVERSION='\"${PV}\"'" LDFLAGS="${BUILD_LDFLAGS}" mv scdoc hostscdoc || die 'Failed to rename host scdoc' fi - emake LDFLAGS="${LDFLAGS}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}" + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}" } src_install() { thanks slyfox I made the PR with the change The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13fc300f9769f245a1ff935f487ae79a7b4000c2 commit 13fc300f9769f245a1ff935f487ae79a7b4000c2 Author: Aisha Tammy <gentoo@aisha.cc> AuthorDate: 2020-10-25 19:07:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-10-27 23:54:44 +0000 app-text/scdoc: fix CC calls Closes: https://bugs.gentoo.org/718592 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/18032 Signed-off-by: Sam James <sam@gentoo.org> app-text/scdoc/scdoc-1.10.0.ebuild | 2 +- app-text/scdoc/scdoc-1.10.1.ebuild | 2 +- app-text/scdoc/scdoc-1.11.0.ebuild | 2 +- app-text/scdoc/scdoc-1.9.3-r1.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) |