diff options
-rw-r--r-- | graphics/gle/Makefile | 6 | ||||
-rw-r--r-- | graphics/gle/buildlink3.mk | 18 |
2 files changed, 21 insertions, 3 deletions
diff --git a/graphics/gle/Makefile b/graphics/gle/Makefile index d305f7509a0..ad8ef41a55c 100644 --- a/graphics/gle/Makefile +++ b/graphics/gle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2004/01/31 11:37:33 sekiya Exp $ +# $NetBSD: Makefile,v 1.13 2004/02/01 10:04:12 jlam Exp $ # DISTNAME= gle-3.1.0 @@ -12,7 +12,7 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://www.linas.org/gle/ COMMENT= GL subroutines for drawing tubing and extrusions -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_X11= YES GNU_CONFIGURE= YES @@ -22,5 +22,5 @@ CONFIG_SUB_OVERRIDE+= ${WRKSRC}/config.sub USE_LIBTOOL= YES LIBTOOL_OVERRIDE= ${WRKSRC}/libtool -.include "../../graphics/Mesa/buildlink2.mk" +.include "../../graphics/Mesa/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/gle/buildlink3.mk b/graphics/gle/buildlink3.mk new file mode 100644 index 00000000000..233f449cc84 --- /dev/null +++ b/graphics/gle/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/01 10:04:12 jlam Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GLE_BUILDLINK3_MK:= ${GLE_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= gle +.endif + +.if !empty(GLE_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= gle +BUILDLINK_DEPENDS.gle?= gle>=3.0.3 +BUILDLINK_PKGSRCDIR.gle?= ../../graphics/gle + +. include "../../graphics/Mesa/buildlink3.mk" +.endif # GLE_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |