summaryrefslogtreecommitdiff
path: root/security/libtasn1
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-10 00:20:29 +0000
committerjlam <jlam@pkgsrc.org>2004-02-10 00:20:29 +0000
commit42055451ff36a98a2594a4e2b46a729517aa0183 (patch)
treeeb30c2cbd27fbd64b96f44143091ef8fcc1659b4 /security/libtasn1
parent085085fe7579e229a19cbbe5d3e7748aa0e64100 (diff)
downloadpkgsrc-42055451ff36a98a2594a4e2b46a729517aa0183.tar.gz
bl3ify
Diffstat (limited to 'security/libtasn1')
-rw-r--r--security/libtasn1/Makefile5
-rw-r--r--security/libtasn1/buildlink3.mk16
2 files changed, 18 insertions, 3 deletions
diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile
index 6d6145cbae3..090223d79a8 100644
--- a/security/libtasn1/Makefile
+++ b/security/libtasn1/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/12/05 23:16:20 xtraeme Exp $
-#
+# $NetBSD: Makefile,v 1.5 2004/02/10 00:20:29 jlam Exp $
DISTNAME= libtasn1-0.2.6
CATEGORIES= security devel
@@ -9,7 +8,7 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnutls.org/
COMMENT= ASN.1 structure parser library
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
diff --git a/security/libtasn1/buildlink3.mk b/security/libtasn1/buildlink3.mk
new file mode 100644
index 00000000000..73ff4d13b71
--- /dev/null
+++ b/security/libtasn1/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/10 00:20:29 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBTASN1_BUILDLINK3_MK:= ${LIBTASN1_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libtasn1
+.endif
+
+.if !empty(LIBTASN1_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libtasn1
+BUILDLINK_DEPENDS.libtasn1+= libtasn1>=0.1.2
+BUILDLINK_PKGSRCDIR.libtasn1?= ../../security/libtasn1
+.endif # LIBTASN1_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}