summaryrefslogtreecommitdiff
path: root/security/mhash
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-24 23:29:23 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-24 23:29:23 +0000
commit6b7d774a57241054e09fb5008468c15d32d63d23 (patch)
treef0b19b86ccf36729208b0b6023be1ea2a43ccbc9 /security/mhash
parent0eaffad35aceb6e4dcc78652e51dec36c297df86 (diff)
downloadpkgsrc-6b7d774a57241054e09fb5008468c15d32d63d23.tar.gz
bl3ify
Diffstat (limited to 'security/mhash')
-rw-r--r--security/mhash/Makefile4
-rw-r--r--security/mhash/buildlink3.mk18
2 files changed, 20 insertions, 2 deletions
diff --git a/security/mhash/Makefile b/security/mhash/Makefile
index 303cf0ee17e..07d1dafa8a5 100644
--- a/security/mhash/Makefile
+++ b/security/mhash/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/02/14 17:21:52 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2004/04/24 23:33:32 xtraeme Exp $
DISTNAME= mhash-0.8.17
CATEGORIES= security devel
@@ -8,7 +8,7 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://mhash.sourceforge.net/
COMMENT= Hash algorithms library
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
diff --git a/security/mhash/buildlink3.mk b/security/mhash/buildlink3.mk
new file mode 100644
index 00000000000..accfdb4638d
--- /dev/null
+++ b/security/mhash/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/24 23:33:32 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+MHASH_BUILDLINK3_MK:= ${MHASH_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= mhash
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmhash}
+BUILDLINK_PACKAGES+= mhash
+
+.if !empty(MHASH_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.mhash+= mhash>=0.8.3
+BUILDLINK_PKGSRCDIR.mhash?= ../../security/mhash
+.endif # MHASH_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}