summaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-29 06:53:45 +0000
committerjlam <jlam>2002-10-29 06:53:45 +0000
commit6aed777f4892954ff4206bc10845b4a40e1999eb (patch)
treee3dbcccd2b98606923fb26cbd482e5e757cc4b55 /devel/binutils
parent04c55f689236f195db55f1ae8e7c3b403b03e005 (diff)
downloadpkgsrc-6aed777f4892954ff4206bc10845b4a40e1999eb.tar.gz
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!
Diffstat (limited to 'devel/binutils')
-rw-r--r--devel/binutils/buildlink2.mk6
1 files changed, 3 insertions, 3 deletions
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