summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-02-15 20:38:37 +0000
committerrecht <recht@pkgsrc.org>2004-02-15 20:38:37 +0000
commitc934703052906c096659734688f86192c5a879ca (patch)
tree2cc9453685c088d67f29a6577a70b0a86ac091eb
parent7eedb8777e53ba957d62a96e8703857185339840 (diff)
downloadpkgsrc-c934703052906c096659734688f86192c5a879ca.tar.gz
add buildlink3
-rw-r--r--x11/wxGTK/buildlink3.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/x11/wxGTK/buildlink3.mk b/x11/wxGTK/buildlink3.mk
new file mode 100644
index 00000000000..45d24738cda
--- /dev/null
+++ b/x11/wxGTK/buildlink3.mk
@@ -0,0 +1,32 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/15 20:38:37 recht Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+WXGTK_BUILDLINK3_MK:= ${WXGTK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= wxGTK
+.endif
+
+.if !empty(WXGTK_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= wxGTK
+BUILDLINK_DEPENDS.wxGTK+= wxGTK>=2.4.2
+BUILDLINK_PKGSRCDIR.wxGTK?= ../../x11/wxGTK
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(WXGTK_USE_GTK1:M[Yy][Ee][Ss])
+.include "../../x11/gtk/buildlink3.mk"
+.else
+.include "../../x11/gtk2/buildlink3.mk"
+.endif
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+
+.endif # WXGTK_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}