diff options
Diffstat (limited to 'graphics/glu/buildlink3.mk')
-rw-r--r-- | graphics/glu/buildlink3.mk | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/graphics/glu/buildlink3.mk b/graphics/glu/buildlink3.mk index 290e9b871c1..9d564bc993d 100644 --- a/graphics/glu/buildlink3.mk +++ b/graphics/glu/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.20 2004/02/12 01:59:38 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.21 2004/02/12 02:35:06 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GLU_BUILDLINK3_MK:= ${GLU_BUILDLINK3_MK}+ @@ -60,8 +60,18 @@ BUILDLINK_USE_BUILTIN.glu= YES BUILDLINK_USE_BUILTIN.glu= NO .endif -.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) || \ - !empty(PREFER_PKGSRC:Mglu) +.if !empty(PREFER_NATIVE:M[yY][eE][sS]) && \ + !empty(BUILDLINK_IS_BUILTIN.glu:M[yY][eE][sS]) +BUILDLINK_USE_BUILTIN.glu= YES +.endif +.if !empty(PREFER_PKGSRC:M[yY][eE][sS]) +BUILDLINK_USE_BUILTIN.glu= NO +.endif +.if !empty(PREFER_NATIVE:Mglu) && \ + !empty(BUILDLINK_IS_BUILTIN.glu:M[yY][eE][sS]) +BUILDLINK_USE_BUILTIN.glu= YES +.endif +.if !empty(PREFER_PKGSRC:Mglu) BUILDLINK_USE_BUILTIN.glu= NO .endif |