summaryrefslogtreecommitdiff
path: root/security/libmcrypt/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/libmcrypt/buildlink3.mk')
-rw-r--r--security/libmcrypt/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/security/libmcrypt/buildlink3.mk b/security/libmcrypt/buildlink3.mk
new file mode 100644
index 00000000000..db8ba464417
--- /dev/null
+++ b/security/libmcrypt/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/24 23:29:23 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBMCRYPT_BUILDLINK3_MK:= ${LIBMCRYPT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libmcrypt
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmcrypt}
+BUILDLINK_PACKAGES+= libmcrypt
+
+.if !empty(LIBMCRYPT_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libmcrypt+= libmcrypt>=2.5.6
+BUILDLINK_PKGSRCDIR.libmcrypt?= ../../security/libmcrypt
+.endif # LIBMCRYPT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}