From 53b59d25b971656f934b2538870d6eb5a7cc13c9 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Tue, 1 Feb 2011 01:41:19 +0000 Subject: [PATCH] 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(+) diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk index 4f73d7959309..9e523b30b8b5 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)