summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-04-25 00:25:01 +0000
committerwiz <wiz@pkgsrc.org>2004-04-25 00:25:01 +0000
commit190e095a91ee5c168c76b5b6be39fe3f66d0b47d (patch)
tree417e44bc252e85de3f24a80a1388f41e5ba962ff /net
parent8921b20dc73500f6cb66d0b2d4b7844a624c65fa (diff)
downloadpkgsrc-190e095a91ee5c168c76b5b6be39fe3f66d0b47d.tar.gz
Convert to bl3.
Diffstat (limited to 'net')
-rw-r--r--net/libares/Makefile4
-rw-r--r--net/libares/buildlink3.mk18
2 files changed, 20 insertions, 2 deletions
diff --git a/net/libares/Makefile b/net/libares/Makefile
index 1f44f3c8f5c..9680ab3cc3c 100644
--- a/net/libares/Makefile
+++ b/net/libares/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/07/17 22:51:20 grant Exp $
+# $NetBSD: Makefile,v 1.3 2004/04/25 00:25:01 wiz Exp $
#
DISTNAME= ares-1.1.1
@@ -10,7 +10,7 @@ MAINTAINER= sommerfeld@NetBSD.org
#HOMEPAGE= none
COMMENT= Asynchronous DNS resolver library
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
.include "../../mk/bsd.pkg.mk"
diff --git a/net/libares/buildlink3.mk b/net/libares/buildlink3.mk
new file mode 100644
index 00000000000..3dac8af20e8
--- /dev/null
+++ b/net/libares/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 00:25:01 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBARES_BUILDLINK3_MK:= ${LIBARES_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libares
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibares}
+BUILDLINK_PACKAGES+= libares
+
+.if !empty(LIBARES_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libares+= libares>=1.1.1
+BUILDLINK_PKGSRCDIR.libares?= ../../net/libares
+.endif # LIBARES_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}