diff options
Diffstat (limited to 'graphics/libpuzzle/buildlink3.mk')
-rw-r--r-- | graphics/libpuzzle/buildlink3.mk | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/graphics/libpuzzle/buildlink3.mk b/graphics/libpuzzle/buildlink3.mk index 2a39b013be3..0323f912eca 100644 --- a/graphics/libpuzzle/buildlink3.mk +++ b/graphics/libpuzzle/buildlink3.mk @@ -1,21 +1,14 @@ -# $NetBSD: buildlink3.mk,v 1.1 2009/03/05 00:23:46 imil Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:24:43 joerg Exp $ -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ -LIBPUZZLE_BUILDLINK3_MK:= ${LIBPUZZLE_BUILDLINK3_MK}+ +BUILDLINK_TREE+= libpuzzle -.if ${BUILDLINK_DEPTH} == "+" -BUILDLINK_DEPENDS+= libpuzzle -.endif +.if !defined(LIBPUZZLE_BUILDLINK3_MK) +LIBPUZZLE_BUILDLINK3_MK:= -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibpuzzle} -BUILDLINK_PACKAGES+= libpuzzle -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libpuzzle - -.if ${LIBPUZZLE_BUILDLINK3_MK} == "+" BUILDLINK_API_DEPENDS.libpuzzle+= libpuzzle>=0.9 BUILDLINK_PKGSRCDIR.libpuzzle?= ../../graphics/libpuzzle -.endif # LIBPUZZLE_BUILDLINK3_MK .include "../../graphics/gd/buildlink3.mk" +.endif # LIBPUZZLE_BUILDLINK3_MK -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_TREE+= -libpuzzle |