Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2016 20:14:56 +0800
From:      Howard Su <howard0su@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Why USE_GCC cause RUN_DEPEND on GCC
Message-ID:  <CAAvnz_p2ksr=H0UKrD94GWt-pXwO-72dMrQbLvhpYU02fY6b9A@mail.gmail.com>

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


-- 
-Howard



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAvnz_p2ksr=H0UKrD94GWt-pXwO-72dMrQbLvhpYU02fY6b9A>