diff options
Diffstat (limited to 'x11/libXrender/buildlink3.mk')
-rw-r--r-- | x11/libXrender/buildlink3.mk | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/x11/libXrender/buildlink3.mk b/x11/libXrender/buildlink3.mk index 981a7444d5f..3bf41d30937 100644 --- a/x11/libXrender/buildlink3.mk +++ b/x11/libXrender/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2007/12/16 19:38:25 tron Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2009/03/20 19:25:45 joerg Exp $ .include "../../mk/bsd.fast.prefs.mk" @@ -6,25 +6,18 @@ .include "../../x11/Xrender/buildlink3.mk" .else -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ -LIBXRENDER_BUILDLINK3_MK:= ${LIBXRENDER_BUILDLINK3_MK}+ +BUILDLINK_TREE+= libXrender -.if ${BUILDLINK_DEPTH} == "+" -BUILDLINK_DEPENDS+= libXrender -.endif - -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibXrender} -BUILDLINK_PACKAGES+= libXrender -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libXrender +.if !defined(LIBXRENDER_BUILDLINK3_MK) +LIBXRENDER_BUILDLINK3_MK:= -.if ${LIBXRENDER_BUILDLINK3_MK} == "+" BUILDLINK_API_DEPENDS.libXrender+= libXrender>=0.9.2 BUILDLINK_PKGSRCDIR.libXrender?= ../../x11/libXrender -.endif # LIBXRENDER_BUILDLINK3_MK .include "../../x11/renderproto/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" +.endif # LIBXRENDER_BUILDLINK3_MK -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_TREE+= -libXrender .endif |