diff options
-rw-r--r-- | security/xmlsec1/buildlink3.mk | 23 |
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/+$//} |