diff options
Diffstat (limited to 'x11/libXres/buildlink3.mk')
-rw-r--r-- | x11/libXres/buildlink3.mk | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/x11/libXres/buildlink3.mk b/x11/libXres/buildlink3.mk index c2dfd269147..43afeba8866 100644 --- a/x11/libXres/buildlink3.mk +++ b/x11/libXres/buildlink3.mk @@ -1,25 +1,18 @@ -# $NetBSD: buildlink3.mk,v 1.3 2008/10/05 21:36:33 cube Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2009/03/20 19:25:45 joerg Exp $ .include "../../mk/bsd.fast.prefs.mk" -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ -LIBXRES_BUILDLINK3_MK:= ${LIBXRES_BUILDLINK3_MK}+ +BUILDLINK_TREE+= libXres -.if ${BUILDLINK_DEPTH} == "+" -BUILDLINK_DEPENDS+= libXres -.endif +.if !defined(LIBXRES_BUILDLINK3_MK) +LIBXRES_BUILDLINK3_MK:= -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibXres} -BUILDLINK_PACKAGES+= libXres -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libXres - -.if ${LIBXRES_BUILDLINK3_MK} == "+" BUILDLINK_API_DEPENDS.libXres+= libXres>=1.0.0 BUILDLINK_PKGSRCDIR.libXres?= ../../x11/libXres -.endif # LIBXRES_BUILDLINK3_MK .include "../../x11/libX11/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" .include "../../x11/xproto/buildlink3.mk" +.endif # LIBXRES_BUILDLINK3_MK -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_TREE+= -libXres |