diff options
Diffstat (limited to 'graphics/SDL_image/buildlink3.mk')
-rw-r--r-- | graphics/SDL_image/buildlink3.mk | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/graphics/SDL_image/buildlink3.mk b/graphics/SDL_image/buildlink3.mk index 83af44a56a1..d2b743e014a 100644 --- a/graphics/SDL_image/buildlink3.mk +++ b/graphics/SDL_image/buildlink3.mk @@ -1,26 +1,19 @@ -# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:10:50 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.18 2009/03/20 19:24:36 joerg Exp $ -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ -SDL_IMAGE_BUILDLINK3_MK:= ${SDL_IMAGE_BUILDLINK3_MK}+ +BUILDLINK_TREE+= SDL_image -.if !empty(BUILDLINK_DEPTH:M+) -BUILDLINK_DEPENDS+= SDL_image -.endif +.if !defined(SDL_IMAGE_BUILDLINK3_MK) +SDL_IMAGE_BUILDLINK3_MK:= -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL_image} -BUILDLINK_PACKAGES+= SDL_image -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}SDL_image - -.if !empty(SDL_IMAGE_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.SDL_image+= SDL_image>=1.2.3nb1 BUILDLINK_ABI_DEPENDS.SDL_image+= SDL_image>=1.2.5 BUILDLINK_PKGSRCDIR.SDL_image?= ../../graphics/SDL_image BUILDLINK_INCDIRS.SDL_image?= include/SDL -.endif # SDL_IMAGE_BUILDLINK3_MK .include "../../devel/SDL/buildlink3.mk" .include "../../graphics/jpeg/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" +.endif # SDL_IMAGE_BUILDLINK3_MK -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_TREE+= -SDL_image |