summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-03-08 02:36:23 +0000
committersnj <snj@pkgsrc.org>2004-03-08 02:36:23 +0000
commitc40a803a7b516917101f52e48f4537394cec7edc (patch)
tree7bb7d435f5ff2051513037bdb60c6d922834fa43
parent8a42179819e733e0d8b9d1170c494e9fc9b6d6f5 (diff)
downloadpkgsrc-c40a803a7b516917101f52e48f4537394cec7edc.tar.gz
bl3ify.
-rw-r--r--x11/gtkglarea/Makefile10
-rw-r--r--x11/gtkglarea/buildlink3.mk23
2 files changed, 28 insertions, 5 deletions
diff --git a/x11/gtkglarea/Makefile b/x11/gtkglarea/Makefile
index 193821f7d00..404d82ae8f9 100644
--- a/x11/gtkglarea/Makefile
+++ b/x11/gtkglarea/Makefile
@@ -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 @@ HOMEPAGE= http://www.student.oulu.fi/~jlof/gtkglarea/
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 @@ post-install:
${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 --git a/x11/gtkglarea/buildlink3.mk b/x11/gtkglarea/buildlink3.mk
new file mode 100644
index 00000000000..665cb8ce491
--- /dev/null
+++ b/x11/gtkglarea/buildlink3.mk
@@ -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/+$//}