Why USE_GCC cause RUN_DEPEND on GCC

Howard Su howard0su at gmail.com
Fri Aug 12 12:14:58 UTC 2016


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


More information about the freebsd-ports mailing list