Why USE_GCC cause RUN_DEPEND on GCC

Kubilay Kocak koobs at FreeBSD.org
Fri Aug 12 12:20:39 UTC 2016


On 12/08/2016 10:14 PM, Howard Su wrote:
> When I installing vnc, I noticed it depends on GCC which I don't think it
> make sense.
> 
> I dig bsd.gcc.mk and notice the following lines, why do we force run
> depends on gcc while the software just use it to build?
> 
> .if defined(_GCC_PORT_DEPENDS)
> BUILD_DEPENDS+= ${_GCC_PORT_DEPENDS}:lang/${_GCC_PORT}
> RUN_DEPENDS+=   ${_GCC_PORT_DEPENDS}:lang/${_GCC_PORT}
> # Later GCC ports already depend on binutils; make sure whatever we
> # build leverages this as well.
> USE_BINUTILS=   yes
> .endif
> .endif # defined(_USE_GCC) && !defined(FORCE_BASE_CC_FOR_TESTING)
> 

Hi Howard

This is a work in progress, and has been requested. See:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211079

Which depends on:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211154



More information about the freebsd-ports mailing list