diff options
author | gerald <gerald@FreeBSD.org> | 2011-02-01 01:41:19 +0000 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2011-02-01 01:41:19 +0000 |
commit | db47720c274d04c587024fe3f075799f925c920d (patch) | |
tree | e7235c8260addcf076224407e38a0eb0e1656992 | |
parent | 539070ead7f5f9191dfa8a4ac721e68d126d1e87 (diff) | |
download | FreeBSD-ports-db47720c274d04c587024fe3f075799f925c920d.zip FreeBSD-ports-db47720c274d04c587024fe3f075799f925c920d.tar.gz |
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
-rw-r--r-- | Mk/bsd.gcc.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk index 4f73d79..9e523b3 100644 --- a/Mk/bsd.gcc.mk +++ b/Mk/bsd.gcc.mk @@ -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) |