diff options
author | minskim <minskim> | 2004-02-18 15:48:00 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-02-18 15:48:00 +0000 |
commit | 915d6d373a9147a9810799a6086a2baf84edde3f (patch) | |
tree | ee6c69c95bec1cd8e30dcf33aa3f1a59f4f08ca4 /x11/gtkglarea2 | |
parent | 4fee341c384282ec02abb2a0ea7e901ec6540ddd (diff) | |
download | pkgsrc-915d6d373a9147a9810799a6086a2baf84edde3f.tar.gz |
bl3ify. Also add explicit build dependency on pkgconfig and remove
redundant WRKSRC.
Diffstat (limited to 'x11/gtkglarea2')
-rw-r--r-- | x11/gtkglarea2/Makefile | 10 | ||||
-rw-r--r-- | x11/gtkglarea2/buildlink3.mk | 25 |
2 files changed, 30 insertions, 5 deletions
diff --git a/x11/gtkglarea2/Makefile b/x11/gtkglarea2/Makefile index b9bf711c966..71382435633 100644 --- a/x11/gtkglarea2/Makefile +++ b/x11/gtkglarea2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2004/02/14 18:26:29 jmmv Exp $ +# $NetBSD: Makefile,v 1.8 2004/02/18 15:48:00 minskim Exp $ # DISTNAME= gtkglarea-1.99.0 @@ -12,8 +12,7 @@ MAINTAINER= recht@NetBSD.org HOMEPAGE= http://www.gnome.org/ COMMENT= OpenGL widget for the GTK+2 GUI toolkit -WRKSRC= ${WRKDIR}/gtkglarea-1.99.0 -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_LIBTOOL= YES PKGCONFIG_OVERRIDE+= gtkgl-2.0.pc.in GNU_CONFIGURE= YES @@ -21,6 +20,7 @@ GNU_CONFIGURE= YES CONFIGURE_ARGS+= --with-lib-GL CONFIGURE_ARGS+= --with-GL-prefix=${BUILDLINK_PREFIX.MesaLib} -.include "../../graphics/Mesa/buildlink2.mk" -.include "../../x11/gtk2/buildlink2.mk" +.include "../../devel/pkgconfig/buildlink3.mk" +.include "../../graphics/Mesa/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/x11/gtkglarea2/buildlink3.mk b/x11/gtkglarea2/buildlink3.mk new file mode 100644 index 00000000000..c5c098e4235 --- /dev/null +++ b/x11/gtkglarea2/buildlink3.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/18 15:48:00 minskim Exp $ +# +# This Makefile fragment is included by packages that use gtkglarea2. +# +# This file was created automatically using createbuildlink-3.1. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GTKGLAREA2_BUILDLINK3_MK:= ${GTKGLAREA2_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= gtkglarea2 +.endif + +.if !empty(GTKGLAREA2_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= gtkglarea2 +BUILDLINK_DEPENDS.gtkglarea2+= gtkglarea2>=1.99.0nb3 +BUILDLINK_PKGSRCDIR.gtkglarea2?= ../../x11/gtkglarea2 + +.include "../../graphics/Mesa/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" + +.endif # GTKGLAREA2_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |