summaryrefslogtreecommitdiff
path: root/security/kth-krb4
diff options
context:
space:
mode:
authorsnj <snj>2004-05-10 02:10:14 +0000
committersnj <snj>2004-05-10 02:10:14 +0000
commitdb962abe99468fa4933d8266d9de43b4d789f09c (patch)
treefa9121083c0229775e09813572da35dc01683f28 /security/kth-krb4
parentc76fa3f9d551b79e547927054209ba2e0ee10b76 (diff)
downloadpkgsrc-db962abe99468fa4933d8266d9de43b4d789f09c.tar.gz
Convert to buildlink3.
Diffstat (limited to 'security/kth-krb4')
-rw-r--r--security/kth-krb4/Makefile6
-rw-r--r--security/kth-krb4/buildlink3.mk20
2 files changed, 23 insertions, 3 deletions
diff --git a/security/kth-krb4/Makefile b/security/kth-krb4/Makefile
index 69fd090fd26..2c537fd1718 100644
--- a/security/kth-krb4/Makefile
+++ b/security/kth-krb4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2004/03/26 02:27:52 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2004/05/10 02:10:14 snj Exp $
#
DISTNAME= krb4-1.2.1
@@ -21,7 +21,7 @@ CONFLICTS+= libdes-[0-9]*
CRYPTO= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_X11= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@@ -80,5 +80,5 @@ post-install:
# Enable line below once it's needed
#.include "../../mk/automake.mk"
-.include "../../security/openssl/buildlink2.mk"
+.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/kth-krb4/buildlink3.mk b/security/kth-krb4/buildlink3.mk
new file mode 100644
index 00000000000..75b71982e5e
--- /dev/null
+++ b/security/kth-krb4/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/10 02:10:14 snj Exp $
+# XXX BUILDLINK_DEPMETHOD.kth-krb4?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+KTH_KRB4_BUILDLINK3_MK:= ${KTH_KRB4_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= kth-krb4
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkth-krb4}
+BUILDLINK_PACKAGES+= kth-krb4
+
+.if !empty(KTH_KRB4_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.kth-krb4+= kth-krb4>=1.1.1
+BUILDLINK_RECOMMENDED.kth-krb4?=kth-krb4>=1.2.1nb4
+BUILDLINK_PKGSRCDIR.kth-krb4?= ../../security/kth-krb4
+.endif # KTH_KRB4_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}