summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-12 21:39:32 +0000
committerminskim <minskim@pkgsrc.org>2004-02-12 21:39:32 +0000
commita5d6d995523fae1853758c9a3f97db849fd5800d (patch)
treebf81773c814885ff2161806be7c19fc649684743
parentae51b23ccff5b19513c91575abc6bac3e676503d (diff)
downloadpkgsrc-a5d6d995523fae1853758c9a3f97db849fd5800d.tar.gz
Add buildlink3.mk.
-rw-r--r--www/libwww/buildlink3.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/libwww/buildlink3.mk b/www/libwww/buildlink3.mk
new file mode 100644
index 00000000000..d87398b2260
--- /dev/null
+++ b/www/libwww/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/12 21:39:32 minskim Exp $
+#
+# This Makefile fragment is included by packages that use libwww.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBWWW_BUILDLINK3_MK:= ${LIBWWW_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libwww
+.endif
+
+.if !empty(LIBWWW_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libwww
+BUILDLINK_DEPENDS.libwww+= libwww>=5.3.2nb2
+BUILDLINK_PKGSRCDIR.libwww?= ../../www/libwww
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+
+.endif # LIBWWW_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}