diff options
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r-- | graphics/MesaLib/buildlink3.mk | 20 | ||||
-rw-r--r-- | graphics/MesaLib/builtin.mk | 6 |
2 files changed, 7 insertions, 19 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk index 1044f72bbec..c1c23e96505 100644 --- a/graphics/MesaLib/buildlink3.mk +++ b/graphics/MesaLib/buildlink3.mk @@ -1,17 +1,10 @@ -# $NetBSD: buildlink3.mk,v 1.46 2008/05/15 19:46:47 tron Exp $ +# $NetBSD: buildlink3.mk,v 1.47 2009/03/20 19:24:36 joerg Exp $ -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ -MESALIB_BUILDLINK3_MK:= ${MESALIB_BUILDLINK3_MK}+ +BUILDLINK_TREE+= MesaLib -.if !empty(BUILDLINK_DEPTH:M+) -BUILDLINK_DEPENDS+= MesaLib -.endif - -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NMesaLib} -BUILDLINK_PACKAGES+= MesaLib -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}MesaLib +.if !defined(MESALIB_BUILDLINK3_MK) +MESALIB_BUILDLINK3_MK:= -.if !empty(MESALIB_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=3.4.2 BUILDLINK_ABI_DEPENDS.MesaLib+= MesaLib>=7.0.3 BUILDLINK_PKGSRCDIR.MesaLib?= ../../graphics/MesaLib @@ -30,12 +23,11 @@ pkgbase:= MesaLib . include "../../graphics/MesaLib/dri.mk" .endif -.endif # MESALIB_BUILDLINK3_MK - .if !empty(MACHINE_PLATFORM:MNetBSD-[12].*) .include "../../devel/pthread-stublib/buildlink3.mk" .endif .include "../../x11/libXext/buildlink3.mk" +.endif # MESALIB_BUILDLINK3_MK -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_TREE+= -MesaLib diff --git a/graphics/MesaLib/builtin.mk b/graphics/MesaLib/builtin.mk index f2a3808be25..59f7bb2d230 100644 --- a/graphics/MesaLib/builtin.mk +++ b/graphics/MesaLib/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.16 2009/02/03 08:35:13 obache Exp $ +# $NetBSD: builtin.mk,v 1.17 2009/03/20 19:24:36 joerg Exp $ BUILTIN_PKG:= MesaLib @@ -68,15 +68,11 @@ CHECK_BUILTIN.MesaLib?= no .if !empty(CHECK_BUILTIN.MesaLib:M[nN][oO]) . if !empty(USE_BUILTIN.MesaLib:M[nN][oO]) -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ . include "../../mk/pthread.buildlink3.mk" . include "../../mk/pthread.builtin.mk" -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} BUILTIN_PKG:= MesaLib . endif -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ . include "../../mk/x11.builtin.mk" -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} .endif # CHECK_BUILTIN.MesaLib |