Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2016 22:20:31 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Howard Su <howard0su@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: Why USE_GCC cause RUN_DEPEND on GCC
Message-ID:  <916fb65b-4bea-0374-8f58-98af8f56ea20@FreeBSD.org>
In-Reply-To: <CAAvnz_p2ksr=H0UKrD94GWt-pXwO-72dMrQbLvhpYU02fY6b9A@mail.gmail.com>
References:  <CAAvnz_p2ksr=H0UKrD94GWt-pXwO-72dMrQbLvhpYU02fY6b9A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?916fb65b-4bea-0374-8f58-98af8f56ea20>