summaryrefslogtreecommitdiff
path: root/net/hesiod
diff options
context:
space:
mode:
authorwiz <wiz>2004-04-25 00:18:39 +0000
committerwiz <wiz>2004-04-25 00:18:39 +0000
commit1f01bd5c5c37d7dcaeb9afc890c652805d1cae39 (patch)
treedd2236750dd5f75bfc9b26222118ee947d977bfb /net/hesiod
parentd143b1d3a9e7381f148367cacf70f87fcef3caaa (diff)
downloadpkgsrc-1f01bd5c5c37d7dcaeb9afc890c652805d1cae39.tar.gz
Convert to bl3.
Diffstat (limited to 'net/hesiod')
-rw-r--r--net/hesiod/Makefile4
-rw-r--r--net/hesiod/buildlink3.mk28
2 files changed, 30 insertions, 2 deletions
diff --git a/net/hesiod/Makefile b/net/hesiod/Makefile
index f9f9d0d422a..8b7da744b18 100644
--- a/net/hesiod/Makefile
+++ b/net/hesiod/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/12/07 02:39:00 schmonz Exp $
+# $NetBSD: Makefile,v 1.6 2004/04/25 00:18:39 wiz Exp $
DISTNAME= hesiod-3.0.2
CATEGORIES= net
@@ -13,7 +13,7 @@ COMMENT= Hesiod network database client and library
PKG_SKIP_REASON= "${PKGNAME} is part of your ${OPSYS} distribution"
.endif
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
diff --git a/net/hesiod/buildlink3.mk b/net/hesiod/buildlink3.mk
new file mode 100644
index 00000000000..b66faeb5f09
--- /dev/null
+++ b/net/hesiod/buildlink3.mk
@@ -0,0 +1,28 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 00:18:39 wiz Exp $
+# XXX
+# XXX This file was created automatically using createbuildlink-3.4.
+# XXX After this file as been verified as correct, the comment lines
+# XXX beginning with "XXX" should be removed. Please do not commit
+# XXX unverified buildlink[23].mk files.
+# XXX
+# XXX Packages that only install static libraries or headers should
+# XXX include the following line:
+# XXX
+# XXX BUILDLINK_DEPMETHOD.hesiod?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+HESIOD_BUILDLINK3_MK:= ${HESIOD_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= hesiod
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhesiod}
+BUILDLINK_PACKAGES+= hesiod
+
+.if !empty(HESIOD_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.hesiod+= hesiod>=3.0.2
+BUILDLINK_PKGSRCDIR.hesiod?= ../../net/hesiod
+.endif # HESIOD_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}