lang/gcc44 and later depend on the devel/binutils port. Leverage that

and USE_BINUTILS for every port we are building with this combo.  That
way all the tools in binutils may be used.

Suggested by:	bf
Feature safe:	yes
This commit is contained in:
Gerald Pfeifer 2011-02-01 01:41:19 +00:00
parent 4b7c4dd1fd
commit 53b59d25b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268511

View File

@ -201,6 +201,11 @@ LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}
BUILD_DEPENDS+= ${_GCC_PORT_DEPENDS}:${PORTSDIR}/lang/${_GCC_BUILD_DEPENDS}
. if ${_USE_GCC} != 3.4
RUN_DEPENDS+= ${_GCC_PORT_DEPENDS}:${PORTSDIR}/lang/${_GCC_BUILD_DEPENDS}
. if ${_USE_GCC} != 4.2
# Later GCC ports already depend on binutils; make sure whatever we
# build leverages this as well.
USE_BINUTILS= yes
. endif
. endif
.endif
.endif # defined(_USE_GCC)