diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-18 16:35:27 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-18 16:35:27 +0000 |
commit | 856c7ef8b5bf784559d087397ad7cccf45177200 (patch) | |
tree | daac6b8473ed3f39f2dec5295d64812df616c1e4 /graphics/MesaLib/buildlink3.mk | |
parent | e1720521d0a3d72d0677c724d4ea47c2f900ba11 (diff) | |
download | pkgsrc-856c7ef8b5bf784559d087397ad7cccf45177200.tar.gz |
Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in the
environment overrides all other settings.
Diffstat (limited to 'graphics/MesaLib/buildlink3.mk')
-rw-r--r-- | graphics/MesaLib/buildlink3.mk | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk index c08966469bd..d26c3e04bab 100644 --- a/graphics/MesaLib/buildlink3.mk +++ b/graphics/MesaLib/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.24 2004/02/12 02:35:06 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.25 2004/02/18 16:35:27 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ MESALIB_BUILDLINK3_MK:= ${MESALIB_BUILDLINK3_MK}+ @@ -80,29 +80,31 @@ BUILDLINK_IS_BUILTIN.MesaLib!= \ MAKEFLAGS+= BUILDLINK_IS_BUILTIN.MesaLib=${BUILDLINK_IS_BUILTIN.MesaLib} .endif -.if !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) +.if !empty(BUILDLINK_CHECK_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib= YES -.else -BUILDLINK_USE_BUILTIN.MesaLib= NO .endif -.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ - !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) +.if !defined(BUILDLINK_USE_BUILTIN.MesaLib) +. if !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib= YES -.endif -.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) +. else BUILDLINK_USE_BUILTIN.MesaLib= NO -.endif -.if !empty(PREFER_NATIVE:MMesaLib) && \ - !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) +. endif + +. if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ + !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib= YES -.endif -.if !empty(PREFER_PKGSRC:MMesaLib) +. endif +. if !empty(PREFER_PKGSRC:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib= NO -.endif - -.if !empty(BUILDLINK_CHECK_BUILTIN.MesaLib:M[yY][eE][sS]) +. endif +. if !empty(PREFER_NATIVE:MMesaLib) && \ + !empty(BUILDLINK_IS_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.MesaLib= YES +. endif +. if !empty(PREFER_PKGSRC:MMesaLib) +BUILDLINK_USE_BUILTIN.MesaLib= NO +. endif .endif .if !empty(BUILDLINK_USE_BUILTIN.MesaLib:M[nN][oO]) |