From db47720c274d04c587024fe3f075799f925c920d Mon Sep 17 00:00:00 2001 From: gerald Date: Tue, 1 Feb 2011 01:41:19 +0000 Subject: 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 --- Mk/bsd.gcc.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Mk') 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) -- cgit v1.1