From abc969db6af84a74449a65c76799d658f2ada576 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 30 Apr 2002 12:44:39 +0000 Subject: Since I already have the code to check if it's needed, use it do en- or disable the dependency, too. Oops. --- devel/binutils/buildlink.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'devel') diff --git a/devel/binutils/buildlink.mk b/devel/binutils/buildlink.mk index 5a0dfa34873..48c944db69e 100644 --- a/devel/binutils/buildlink.mk +++ b/devel/binutils/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.1.1.1 2002/04/30 12:33:29 wiz Exp $ +# $NetBSD: buildlink.mk,v 1.2 2002/04/30 12:44:39 wiz Exp $ # # This Makefile fragment is included by packages that use binutils. # @@ -31,6 +31,7 @@ _NEED_BINUTILS= YES # XXX: logic for other operating systems needed here .endif +.if ${_NEED_BINUTILS} == "YES" BUILDLINK_DEPENDS.binutils?= binutils>=2.11.2 DEPENDS+= ${BUILDLINK_DEPENDS.binutils}:../../devel/binutils @@ -65,5 +66,6 @@ PATH:= ${BUILDLINK_DIR}/bin:${PATH} pre-configure: ${BUILDLINK_TARGETS} binutils-buildlink: _BUILDLINK_USE +.endif # _NEED_BINUTILS .endif # BINUTILS_BUILDLINK_MK -- cgit v1.2.3