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 | bf6e059da4895ab456eb5a60bfc41a648bc78a2b (patch) | |
tree | daac6b8473ed3f39f2dec5295d64812df616c1e4 /x11/Xrandr-mixedcase/buildlink3.mk | |
parent | 2f58d4e75293627c73f9a9e01eab4d65f1069903 (diff) | |
download | pkgsrc-bf6e059da4895ab456eb5a60bfc41a648bc78a2b.tar.gz |
Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in the
environment overrides all other settings.
Diffstat (limited to 'x11/Xrandr-mixedcase/buildlink3.mk')
-rw-r--r-- | x11/Xrandr-mixedcase/buildlink3.mk | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/x11/Xrandr-mixedcase/buildlink3.mk b/x11/Xrandr-mixedcase/buildlink3.mk index ad199baed04..b8b25a734c4 100644 --- a/x11/Xrandr-mixedcase/buildlink3.mk +++ b/x11/Xrandr-mixedcase/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.8 2004/02/17 13:44:34 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.9 2004/02/18 16:35:27 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ XRANDR_BUILDLINK3_MK:= ${XRANDR_BUILDLINK3_MK}+ @@ -90,29 +90,31 @@ BUILDLINK_IS_BUILTIN.Xrandr!= \ MAKEFLAGS+= BUILDLINK_IS_BUILTIN.Xrandr=${BUILDLINK_IS_BUILTIN.Xrandr} .endif -.if !empty(BUILDLINK_IS_BUILTIN.Xrandr:M[yY][eE][sS]) +.if !empty(BUILDLINK_CHECK_BUILTIN.Xrandr:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.Xrandr= YES -.else -BUILDLINK_USE_BUILTIN.Xrandr= NO .endif -.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ - !empty(BUILDLINK_IS_BUILTIN.Xrandr:M[yY][eE][sS]) +.if !defined(BUILDLINK_USE_BUILTIN.Xrandr) +. if !empty(BUILDLINK_IS_BUILTIN.Xrandr:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.Xrandr= YES -.endif -.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) +. else BUILDLINK_USE_BUILTIN.Xrandr= NO -.endif -.if !empty(PREFER_NATIVE:MXrandr) && \ - !empty(BUILDLINK_IS_BUILTIN.Xrandr:M[yY][eE][sS]) +. endif + +. if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ + !empty(BUILDLINK_IS_BUILTIN.Xrandr:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.Xrandr= YES -.endif -.if !empty(PREFER_PKGSRC:MXrandr) +. endif +. if !empty(PREFER_PKGSRC:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.Xrandr= NO -.endif - -.if !empty(BUILDLINK_CHECK_BUILTIN.Xrandr:M[yY][eE][sS]) +. endif +. if !empty(PREFER_NATIVE:MXrandr) && \ + !empty(BUILDLINK_IS_BUILTIN.Xrandr:M[yY][eE][sS]) BUILDLINK_USE_BUILTIN.Xrandr= YES +. endif +. if !empty(PREFER_PKGSRC:MXrandr) +BUILDLINK_USE_BUILTIN.Xrandr= NO +. endif .endif .if !empty(BUILDLINK_USE_BUILTIN.Xrandr:M[nN][oO]) |