summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-18 10:21:15 +0000
committerjlam <jlam@pkgsrc.org>2004-02-18 10:21:15 +0000
commit1d98f6a8b18da578a984cd6181cf68c4ba3f3cf2 (patch)
tree65dc4fe90922f65b9be0a9aab7da917fc7fd7d2a /x11
parentd55675c88d62a960537e9f9461385673da850dc0 (diff)
downloadpkgsrc-1d98f6a8b18da578a984cd6181cf68c4ba3f3cf2.tar.gz
bl3ify
Diffstat (limited to 'x11')
-rw-r--r--x11/fltk/Makefile14
-rw-r--r--x11/fltk/buildlink3.mk19
2 files changed, 26 insertions, 7 deletions
diff --git a/x11/fltk/Makefile b/x11/fltk/Makefile
index df934d7999d..333a367e0a1 100644
--- a/x11/fltk/Makefile
+++ b/x11/fltk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2004/02/18 05:07:34 ben Exp $
+# $NetBSD: Makefile,v 1.37 2004/02/18 10:21:15 jlam Exp $
#
DISTNAME= fltk-1.1.4-source
@@ -18,16 +18,16 @@ HOMEPAGE= http://www.fltk.org/
COMMENT= Fast Light Tool Kit for graphical user interfaces
WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= yes
USE_LANGUAGES= c c++
USE_GNU_TOOLS+= make
-USE_LIBTOOL= # defined
-USE_X11BASE= # defined
+USE_LIBTOOL= yes
+USE_X11BASE= yes
TEST_TARGET= test
-GNU_CONFIGURE= # defined
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-libtool=${LIBTOOL}
-.include "../../graphics/MesaLib/buildlink2.mk"
-.include "../../graphics/glu/buildlink2.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/fltk/buildlink3.mk b/x11/fltk/buildlink3.mk
new file mode 100644
index 00000000000..5b71b3cb04f
--- /dev/null
+++ b/x11/fltk/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/18 10:21:15 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FLTK_BUILDLINK3_MK:= ${FLTK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= fltk
+.endif
+
+.if !empty(FLTK_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= fltk
+BUILDLINK_DEPENDS.fltk+= fltk>=1.0.9
+BUILDLINK_PKGSRCDIR.fltk?= ../../x11/fltk
+
+. include "../../graphics/MesaLib/buildlink3.mk"
+. include "../../graphics/glu/buildlink3.mk"
+.endif # FLTK_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}