summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortonnerre <tonnerre@pkgsrc.org>2009-01-07 22:27:48 +0000
committertonnerre <tonnerre@pkgsrc.org>2009-01-07 22:27:48 +0000
commit7da5df70b084aa621bd16fab4101c1eff78d811f (patch)
tree70e61ba31db6cd84b560f17e028937f9a325c26d /security
parent279b41c49b6dd22c2f3c7c064be52c3f5bf459b3 (diff)
downloadpkgsrc-7da5df70b084aa621bd16fab4101c1eff78d811f.tar.gz
Add buildlink3.mk file to py-OpenSSL extension so it can be referenced in
other packages.
Diffstat (limited to 'security')
-rw-r--r--security/py-OpenSSL/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/py-OpenSSL/buildlink3.mk b/security/py-OpenSSL/buildlink3.mk
new file mode 100644
index 00000000000..72633403d81
--- /dev/null
+++ b/security/py-OpenSSL/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2009/01/07 22:27:48 tonnerre Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY25_OPENSSL_BUILDLINK3_MK:= ${PY25_OPENSSL_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= py25-OpenSSL
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy25-OpenSSL}
+BUILDLINK_PACKAGES+= py25-OpenSSL
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py25-OpenSSL
+
+.if ${PY25_OPENSSL_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.py25-OpenSSL+= py25-OpenSSL>=0.7
+BUILDLINK_PKGSRCDIR.py25-OpenSSL?= ../../security/py-OpenSSL
+.endif # PY25_OPENSSL_BUILDLINK3_MK
+
+.include "../../security/openssl/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}