diff options
author | wiz <wiz> | 2002-04-30 12:44:39 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-04-30 12:44:39 +0000 |
commit | cda273e5e80ab831d0a901106dcc3ab2a1bf36b6 (patch) | |
tree | df3e4b1b2ac558c1a69dbfdbd29f8b7ad94d2891 /devel/binutils/buildlink.mk | |
parent | da23f18aff75de538cbfcb5c1425b16dc7f5f38b (diff) | |
download | pkgsrc-cda273e5e80ab831d0a901106dcc3ab2a1bf36b6.tar.gz |
Since I already have the code to check if it's needed, use it do
en- or disable the dependency, too. Oops.
Diffstat (limited to 'devel/binutils/buildlink.mk')
-rw-r--r-- | devel/binutils/buildlink.mk | 4 |
1 files changed, 3 insertions, 1 deletions
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 |