Why USE_GCC cause RUN_DEPEND on GCC

Howard Su howard0su at gmail.com
Fri Aug 12 12:24:10 UTC 2016


Thank you, I will check it out.

On Fri, Aug 12, 2016 at 8:20 PM Kubilay Kocak <koobs at freebsd.org> wrote:

> 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
>
> --
-Howard


More information about the freebsd-ports mailing list