summaryrefslogtreecommitdiff
path: root/www/libwww
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
commita1c50a63c875ac523ff7f6285f726afb05a17a2b (patch)
treebf81773c814885ff2161806be7c19fc649684743 /www/libwww
parentdb47ec8c0ee8b14cb21c81fa49cbc07231c8d51e (diff)
downloadpkgsrc-a1c50a63c875ac523ff7f6285f726afb05a17a2b.tar.gz
Add buildlink3.mk.
Diffstat (limited to 'www/libwww')
-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/+$//}