diff options
author | jlam <jlam> | 2004-03-29 05:43:28 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-03-29 05:43:28 +0000 |
commit | bdc005d46035e154e9ab9ada79f502e80e17e643 (patch) | |
tree | 2684bb3d4a41538be1b78668954f44c69a49033d /devel/binutils | |
parent | cd3720af313224c26d5eacfaeb6f053262932c5b (diff) | |
download | pkgsrc-bdc005d46035e154e9ab9ada79f502e80e17e643.tar.gz |
Match the template builtin.mk file in bsd.builtin.mk, and make the two
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links)
use the new format correctly.
Diffstat (limited to 'devel/binutils')
-rw-r--r-- | devel/binutils/builtin.mk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/binutils/builtin.mk b/devel/binutils/builtin.mk index e3869b1fe13..54ea70ea6a3 100644 --- a/devel/binutils/builtin.mk +++ b/devel/binutils/builtin.mk @@ -1,13 +1,8 @@ -# $NetBSD: builtin.mk,v 1.1 2004/03/10 17:57:14 jlam Exp $ +# $NetBSD: builtin.mk,v 1.2 2004/03/29 05:43:29 jlam Exp $ # XXX Assume that the base OS provides a built-in binutils. IS_BUILTIN.binutils?= yes -CHECK_BUILTIN.binutils?= no -.if !empty(CHECK_BUILTIN.binutils:M[yY][eE][sS]) -USE_BUILTIN.binutils= yes -.endif - .if !defined(USE_BUILTIN.binutils) USE_BUILTIN.binutils?= ${IS_BUILTIN.binutils} PREFER.binutils?= pkgsrc @@ -35,6 +30,9 @@ USE_BUILTIN.binutils= no . endfor .endif # USE_BUILTIN.binutils +CHECK_BUILTIN.binutils?= no +.if !empty(CHECK_BUILTIN.binutils:M[nN][oO]) + .if !empty(USE_BUILTIN.binutils:M[nN][oO]) AR= ${BUILDLINK_PREFIX.binutils}/bin/ar AS= ${BUILDLINK_PREFIX.binutils}/bin/as @@ -42,3 +40,5 @@ LD= ${BUILDLINK_PREFIX.binutils}/bin/ld NM= ${BUILDLINK_PREFIX.binutils}/bin/nm RANLIB= ${BUILDLINK_PREFIX.binutils}/bin/ranlib .endif + +.endif # CHECK_BUILTIN.binutils |