summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/drac/Makefile4
-rw-r--r--mail/drac/buildlink3.mk18
2 files changed, 20 insertions, 2 deletions
diff --git a/mail/drac/Makefile b/mail/drac/Makefile
index 57ad49c0f8d..00e2a0dafcc 100644
--- a/mail/drac/Makefile
+++ b/mail/drac/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2004/03/18 03:42:13 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2004/04/25 01:05:18 wiz Exp $
#
DISTNAME= drac
@@ -13,7 +13,7 @@ COMMENT= Dynamic Relay Authorization Control
WRKSRC= ${WRKDIR}
DIST_SUBDIR= ${PKGNAME_NOREV}
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
NO_EXPORT_CPP= YES
MAKE_ENV+= MKDIR="${MKDIR}"
diff --git a/mail/drac/buildlink3.mk b/mail/drac/buildlink3.mk
new file mode 100644
index 00000000000..cdc9d04da31
--- /dev/null
+++ b/mail/drac/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 01:05:18 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+DRAC_BUILDLINK3_MK:= ${DRAC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= drac
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndrac}
+BUILDLINK_PACKAGES+= drac
+
+.if !empty(DRAC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.drac+= drac>=1.10
+BUILDLINK_PKGSRCDIR.drac?= ../../mail/drac
+.endif # DRAC_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}