diff options
Diffstat (limited to 'devel/binutils/buildlink3.mk')
-rw-r--r-- | devel/binutils/buildlink3.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/binutils/buildlink3.mk b/devel/binutils/buildlink3.mk index ee8d5e0818c..c21c4b03c97 100644 --- a/devel/binutils/buildlink3.mk +++ b/devel/binutils/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.5 2004/01/24 03:12:32 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.6 2004/02/05 06:58:02 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ BINUTILS_BUILDLINK3_MK:= ${BINUTILS_BUILDLINK3_MK}+ @@ -18,6 +18,14 @@ BUILDLINK_CHECK_BUILTIN.binutils?= NO BUILDLINK_IS_BUILTIN.binutils= YES .endif +.if defined(BUILDLINK_PREFER_PKGSRC) +. if empty(BUILDLINK_PREFER_PKGSRC) || \ + !empty(BUILDLINK_PREFER_PKGSRC:M[yY][eE][sS]) || \ + !empty(BUILDLINK_PREFER_PKGSRC:Mbinutils) +BUILDLINK_USE_BUILTIN.binutils= NO +. endif +.endif + .if defined(USE_BINUTILS) BUILDLINK_USE_BUILTIN.binutils= NO .endif |