diff options
Diffstat (limited to 'mk/gcc.buildlink2.mk')
-rw-r--r-- | mk/gcc.buildlink2.mk | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/mk/gcc.buildlink2.mk b/mk/gcc.buildlink2.mk index 6cb7a134a44..2d97e5f8ce1 100644 --- a/mk/gcc.buildlink2.mk +++ b/mk/gcc.buildlink2.mk @@ -1,7 +1,7 @@ -# $NetBSD: gcc.buildlink2.mk,v 1.2 2003/07/09 08:25:04 salo Exp $ +# $NetBSD: gcc.buildlink2.mk,v 1.3 2003/07/18 04:21:17 grant Exp $ # # USE_GCC2 -# If defined, use gcc from lang/gcc (default). +# If defined, use gcc from lang/gcc. # USE_GCC3 # If defined, use gcc3 from lang/gcc3. # @@ -9,11 +9,9 @@ .if !defined(GCC_BUILDLINK2_MK) GCC_BUILDLINK2_MK= # defined -.include "../../mk/bsd.prefs.mk" - -.if defined(USE_GCC3) +.if defined(USE_GCC3) && empty(PKGPATH:Mlang/gcc3) . include "../lang/gcc3/buildlink2.mk" -.elif defined(USE_GCC2) +.elif defined(USE_GCC2) && empty(PKGPATH:Mlang/gcc) . include "../lang/gcc/buildlink2.mk" .endif |