pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gtkglarea bl3ify.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e9643c13bd3
branches:  trunk
changeset: 470318:0e9643c13bd3
user:      snj <snj%pkgsrc.org@localhost>
date:      Mon Mar 08 02:36:23 2004 +0000

description:
bl3ify.

diffstat:

 x11/gtkglarea/Makefile      |  10 +++++-----
 x11/gtkglarea/buildlink3.mk |  23 +++++++++++++++++++++++
 2 files changed, 28 insertions(+), 5 deletions(-)

diffs (57 lines):

diff -r 19875d533ae0 -r 0e9643c13bd3 x11/gtkglarea/Makefile
--- a/x11/gtkglarea/Makefile    Mon Mar 08 02:32:31 2004 +0000
+++ b/x11/gtkglarea/Makefile    Mon Mar 08 02:36:23 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2003/11/30 22:58:40 jschauma Exp $
+# $NetBSD: Makefile,v 1.32 2004/03/08 02:36:23 snj Exp $
 
 DISTNAME=              gtkglarea-1.2.2
 PKGREVISION=           4
@@ -10,7 +10,7 @@
 COMMENT=               OpenGL/Mesa widget for GTK+ GUI toolkit
 
 USE_X11BASE=           YES
-USE_BUILDLINK2=                YES
+USE_BUILDLINK3=                YES
 USE_LIBTOOL=           YES
 LTCONFIG_OVERRIDE=     ${WRKSRC}/ltconfig
 
@@ -31,8 +31,8 @@
        ${LN} -fs ${PREFIX}/share/aclocal/gtkgl.m4 \
                ${LOCALBASE}/share/aclocal/gtkgl.m4
 
-.include "../../graphics/MesaLib/buildlink2.mk"
-.include "../../graphics/glu/buildlink2.mk"
-.include "../../x11/gtk/buildlink2.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r 19875d533ae0 -r 0e9643c13bd3 x11/gtkglarea/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtkglarea/buildlink3.mk       Mon Mar 08 02:36:23 2004 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/08 02:36:23 snj Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+GTKGLAREA_BUILDLINK3_MK:=      ${GTKGLAREA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    gtkglarea
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Ngtkglarea}
+BUILDLINK_PACKAGES+=   gtkglarea
+
+.if !empty(GTKGLAREA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gtkglarea+=  gtkglarea>=1.2.2nb3
+BUILDLINK_PKGSRCDIR.gtkglarea?=        ../../x11/gtkglarea
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
+
+.endif # GTKGLAREA_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index