| Bug#: 18242 | Product: Gentoo Linux | Version: unspecified | Platform: PPC |
| OS/Version: Linux | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: zwelch@gentoo.org | Reported By: jesus@warwickcompsoc.co.uk | |
| Component: Core system | |||
| URL: | |||
| Summary: man ebuild ignores the CC environment variable | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2003-03-26 13:56 0000 | |||
| Description: | Opened: 2003-03-26 13:56 0000 |
man-1.5l-r1 ignores the value of CC in the environment, and uses gcc. This causes make to fail on my system, as I'm using distcc with a crosscompiler, and need to use $CHOST-gcc. Reproducible: Always Steps to Reproduce: 1. CC=powerpc-unknown-linux-gnu-gcc emerge -u man 2. 3. Actual Results: (approximate) gcc .... man.c [distcc] CRITICAL! distcc seems to have invoked itself recursively! make: *** Error 111 Expected Results: compiled
Applying the following to sys-apps/man/man-1.5l-r1.ebuild fixes the problem
83c83
< make || die
---
> make CC=${CC}|| die
Created an attachment (id=9878) [details]
removes line that forces CC = gcc
There is a line src_unpack() that forces CC=gcc. This patch removes that line.
With that line removed CC can now be over ridden from the command line.
Fixed in the main portage tree. I also fixed the sed for the main file.