pkgsrc-wip/OpenGLUT/buildlink3.mk
Jeremy C. Reed 37f815a375 Change BUILDLINK_DEPENDS.foo to BUILDLINK_API_DEPENDS.foo.
Change BUILDLINK_RECOMMENDED.foo to BUILDLINK_ABI_DEPENDS.foo.

As discussed on tech-pkg.
2006-04-06 07:16:55 +00:00

24 lines
686 B
Makefile

# $NetBSD: buildlink3.mk,v 1.4 2006/04/06 07:16:55 jeremy-c-reed Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENGLUT_BUILDLINK3_MK:= ${OPENGLUT_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= OpenGLUT
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NOpenGLUT}
BUILDLINK_PACKAGES+= OpenGLUT
.if !empty(OPENGLUT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.OpenGLUT+= OpenGLUT>=0.6.0
BUILDLINK_PKGSRCDIR.OpenGLUT?= ../../wip/OpenGLUT
.endif # OPENGLUT_BUILDLINK3_MK
MESA_REQD+= 6.0
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}