pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gtkglarea2 bl3ify. Also add explicit build depend...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/433bd14dfc4f
branches:  trunk
changeset: 469001:433bd14dfc4f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Feb 18 15:48:00 2004 +0000

description:
bl3ify.  Also add explicit build dependency on pkgconfig and remove
redundant WRKSRC.

diffstat:

 x11/gtkglarea2/Makefile      |  10 +++++-----
 x11/gtkglarea2/buildlink3.mk |  25 +++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 5 deletions(-)

diffs (58 lines):

diff -r 2908f09d408f -r 433bd14dfc4f x11/gtkglarea2/Makefile
--- a/x11/gtkglarea2/Makefile   Wed Feb 18 15:43:05 2004 +0000
+++ b/x11/gtkglarea2/Makefile   Wed Feb 18 15:48:00 2004 +0000
@@ -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 @@
 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 @@
 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 -r 2908f09d408f -r 433bd14dfc4f x11/gtkglarea2/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtkglarea2/buildlink3.mk      Wed Feb 18 15:48:00 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index