summaryrefslogtreecommitdiff
path: root/security/libssh2/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/libssh2/buildlink3.mk')
-rw-r--r--security/libssh2/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/security/libssh2/buildlink3.mk b/security/libssh2/buildlink3.mk
index 47b94f20918..fd884595fb5 100644
--- a/security/libssh2/buildlink3.mk
+++ b/security/libssh2/buildlink3.mk
@@ -1,22 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/03/02 14:11:54 bjs Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:20 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LIBSSH2_BUILDLINK3_MK:= ${LIBSSH2_BUILDLINK3_MK}+
+BUILDLINK_TREE+= libssh2
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= libssh2
-.endif
+.if !defined(LIBSSH2_BUILDLINK3_MK)
+LIBSSH2_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibssh2}
-BUILDLINK_PACKAGES+= libssh2
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libssh2
-
-.if ${LIBSSH2_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libssh2+= libssh2>=0.18
BUILDLINK_PKGSRCDIR.libssh2?= ../../security/libssh2
-.endif # LIBSSH2_BUILDLINK3_MK
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
+.endif # LIBSSH2_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -libssh2