summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2009-03-02 16:44:29 +0000
committermanu <manu@pkgsrc.org>2009-03-02 16:44:29 +0000
commitcfaad96f3d53ad65fd3ce38cc95083932fb63bf2 (patch)
tree973fa0e95f6aaa55e2f82ace308b41786de950cf /security
parent5edb4a1746e550956479b2799d48d47b0d06c873 (diff)
downloadpkgsrc-cfaad96f3d53ad65fd3ce38cc95083932fb63bf2.tar.gz
Buildlink support.
Diffstat (limited to 'security')
-rw-r--r--security/xmlsec1/buildlink3.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/security/xmlsec1/buildlink3.mk b/security/xmlsec1/buildlink3.mk
new file mode 100644
index 00000000000..9cc5d8d3b83
--- /dev/null
+++ b/security/xmlsec1/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2009/03/02 16:44:29 manu Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XMLSEC1_BUILDLINK3_MK:= ${XMLSEC1_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= xmlsec1
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxmlsec1}
+BUILDLINK_PACKAGES+= xmlsec1
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xmlsec1
+
+.if ${XMLSEC1_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.xmlsec1+= xmlsec1>=1.2.6nb6
+BUILDLINK_PKGSRCDIR.xmlsec1?= ../../security/xmlsec1
+BUILDLINK_INCDIRS.xmlsec1+= include/xmlsec1
+BUILDLINK_CPPFLAGS.xmlsec1+= -DXMLSEC_CRYPTO_OPENSSL
+.endif # XMLSEC1_BUILDLINK3_MK
+
+.include "../../security/openssl/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}