# $NetBSD: buildlink3.mk,v 1.25 2006/04/13 21:45:13 wiz Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ OPENLDAP_BUILDLINK3_MK:= ${OPENLDAP_BUILDLINK3_MK}+ .include "../../mk/bsd.prefs.mk" .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= openldap .endif BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenldap} BUILDLINK_PACKAGES+= openldap .if !empty(OPENLDAP_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.openldap+= openldap>=2.3.11nb2 BUILDLINK_PKGSRCDIR.openldap?= ../../databases/openldap # Export the deprecated API from the openldap-2.2.x releases. BUILDLINK_CPPFLAGS.openldap+= -DLDAP_DEPRECATED .endif # OPENLDAP_BUILDLINK3_MK .if !defined(PKG_BUILD_OPTIONS.openldap) PKG_BUILD_OPTIONS.openldap!= \ cd ${BUILDLINK_PKGSRCDIR.openldap} && \ ${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS MAKEFLAGS+= PKG_BUILD_OPTIONS.openldap=${PKG_BUILD_OPTIONS.openldap:Q} .endif MAKEVARS+= PKG_BUILD_OPTIONS.openldap .if !empty(PKG_BUILD_OPTIONS.openldap:Mkerberos) || \ !empty(PKG_BUILD_OPTIONS.openldap:Msasl) . include "../../security/cyrus-sasl/buildlink3.mk" .endif .include "../../security/openssl/buildlink3.mk" BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}