diff options
Diffstat (limited to 'graphics/glew/buildlink3.mk')
-rw-r--r-- | graphics/glew/buildlink3.mk | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/graphics/glew/buildlink3.mk b/graphics/glew/buildlink3.mk index fb0c88f0f34..a51a14ffe9a 100644 --- a/graphics/glew/buildlink3.mk +++ b/graphics/glew/buildlink3.mk @@ -1,22 +1,15 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/08/15 15:21:27 abs Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:24:39 joerg Exp $ -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ -GLEW_BUILDLINK3_MK:= ${GLEW_BUILDLINK3_MK}+ +BUILDLINK_TREE+= glew -.if !empty(BUILDLINK_DEPTH:M+) -BUILDLINK_DEPENDS+= glew -.endif +.if !defined(GLEW_BUILDLINK3_MK) +GLEW_BUILDLINK3_MK:= -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglew} -BUILDLINK_PACKAGES+= glew -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glew - -.if !empty(GLEW_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.glew+= glew>=1.3.4 BUILDLINK_ABI_DEPENDS.glew+= glew>=1.3.4 BUILDLINK_PKGSRCDIR.glew?= ../../graphics/glew -.endif # GLEW_BUILDLINK3_MK .include "../../graphics/MesaLib/buildlink3.mk" +.endif # GLEW_BUILDLINK3_MK -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_TREE+= -glew |