From dc314f908605ab718873dbad4a983ac6f6357d1c Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 29 Oct 2002 06:53:45 +0000 Subject: Don't run the binutils-buildlink target unless we actually need the pkgsrc binutils package. This fixes using this file on -current systems. Thanks Stoned! --- devel/binutils/buildlink2.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'devel/binutils') diff --git a/devel/binutils/buildlink2.mk b/devel/binutils/buildlink2.mk index 24a2d87e7de..14fecc96999 100644 --- a/devel/binutils/buildlink2.mk +++ b/devel/binutils/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.5 2002/09/29 06:35:20 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.6 2002/10/29 06:53:45 jlam Exp $ .if !defined(BINUTILS_BUILDLINK2_MK) BINUTILS_BUILDLINK2_MK= # defined @@ -42,6 +42,8 @@ AS= ${BUILDLINK_PREFIX.binutils}/bin/as LD= ${BUILDLINK_PREFIX.binutils}/bin/ld NM= ${BUILDLINK_PREFIX.binutils}/bin/nm RANLIB= ${BUILDLINK_PREFIX.binutils}/bin/ranlib + +BUILDLINK_TARGETS+= binutils-buildlink .endif # _NEED_BINUTILS == YES BUILDLINK_FILES.binutils+= include/ansidecl.h @@ -51,8 +53,6 @@ BUILDLINK_FILES.binutils+= lib/libbfd.* BUILDLINK_FILES.binutils+= lib/libiberty.* BUILDLINK_FILES.binutils+= lib/libopcodes.* -BUILDLINK_TARGETS+= binutils-buildlink - binutils-buildlink: _BUILDLINK_USE .endif # BINUTILS_BUILDLINK2_MK -- cgit v1.2.3