summaryrefslogtreecommitdiff
path: root/graphics/gtkglext
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>2004-02-10 20:58:04 +0000
committergarbled <garbled@pkgsrc.org>2004-02-10 20:58:04 +0000
commit48d273b707e732e1c2a4c8bfced14dc4d7dd7bd9 (patch)
tree23c240f6857af611f750dc4d90acb6b0b2beee76 /graphics/gtkglext
parent80d67a9daaff08cc341a3a46acbbbdb6188735b4 (diff)
downloadpkgsrc-48d273b707e732e1c2a4c8bfced14dc4d7dd7bd9.tar.gz
Buildlink3-ify this package
Diffstat (limited to 'graphics/gtkglext')
-rw-r--r--graphics/gtkglext/Makefile13
-rw-r--r--graphics/gtkglext/buildlink3.mk26
2 files changed, 33 insertions, 6 deletions
diff --git a/graphics/gtkglext/Makefile b/graphics/gtkglext/Makefile
index 99a812b62e5..2407d8020f8 100644
--- a/graphics/gtkglext/Makefile
+++ b/graphics/gtkglext/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/01/24 15:46:43 grant Exp $
+# $NetBSD: Makefile,v 1.16 2004/02/10 20:58:04 garbled Exp $
#
DISTNAME= gtkglext-0.7.1
@@ -12,7 +12,7 @@ HOMEPAGE= http://gtkglext.sourceforge.net/
COMMENT= OpenGL extension to GTK
GNU_CONFIGURE= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_PERL5= build
USE_GNU_TOOLS+= make
USE_X11= YES
@@ -25,8 +25,9 @@ LIBS+= -lm
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html
CONFIGURE_ARGS+= --enable-gtk-doc=no
-.include "../../devel/pkgconfig/buildlink2.mk"
-.include "../../graphics/MesaLib/buildlink2.mk"
-.include "../../graphics/glu/buildlink2.mk"
-.include "../../x11/gtk2/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/gtkglext/buildlink3.mk b/graphics/gtkglext/buildlink3.mk
new file mode 100644
index 00000000000..df80cc2403b
--- /dev/null
+++ b/graphics/gtkglext/buildlink3.mk
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/10 20:58:04 garbled Exp $
+#
+# This Makefile fragment is included by packages that use gtkglext.
+#
+# This file was created automatically using createbuildlink-3.0.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GTKGLEXT_BUILDLINK3_MK:= ${GTKGLEXT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gtkglext
+.endif
+
+.if !empty(GTKGLEXT_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= gtkglext
+BUILDLINK_DEPENDS.gtkglext?= gtkglext>=0.7.1nb4
+BUILDLINK_PKGSRCDIR.gtkglext?= ../../graphics/gtkglext
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+.endif # GTKGLEXT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}