2020-01-18 22:47:57 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.20 2020/01/18 21:48:00 jperkin Exp $
|
2006-05-31 20:18:34 +02:00
|
|
|
|
2006-12-12 22:52:34 +01:00
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
2006-05-31 20:18:34 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= openldap-client
|
2006-05-31 20:18:34 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.if !defined(OPENLDAP_BUILDLINK3_MK)
|
|
|
|
OPENLDAP_BUILDLINK3_MK:=
|
2006-05-31 20:18:34 +02:00
|
|
|
|
2008-01-13 18:15:15 +01:00
|
|
|
BUILDLINK_API_DEPENDS.openldap-client+= openldap-client>=2.4.6
|
2020-01-18 22:47:57 +01:00
|
|
|
BUILDLINK_ABI_DEPENDS.openldap-client+= openldap-client>=2.4.48nb1
|
2006-05-31 20:18:34 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.openldap-client?= ../../databases/openldap-client
|
|
|
|
|
|
|
|
# Export the deprecated API from the openldap-2.2.x releases.
|
|
|
|
BUILDLINK_CPPFLAGS.openldap-client+= -DLDAP_DEPRECATED
|
|
|
|
|
2014-07-21 14:57:20 +02:00
|
|
|
CHECK_BUILTIN.openldap-client:= yes
|
|
|
|
.include "../../databases/openldap-client/builtin.mk"
|
|
|
|
CHECK_BUILTIN.openldap-client:= no
|
|
|
|
|
2018-01-07 14:03:53 +01:00
|
|
|
.if empty(USE_BUILTIN.openldap-client:M[yY][eE][sS])
|
2007-05-30 10:54:28 +02:00
|
|
|
pkgbase := openldap-client
|
2018-01-07 14:03:53 +01:00
|
|
|
. include "../../mk/pkg-build-options.mk"
|
2006-05-31 20:18:34 +02:00
|
|
|
|
2018-01-07 14:03:53 +01:00
|
|
|
. if !empty(PKG_BUILD_OPTIONS.openldap-client:Mkerberos) || \
|
2014-07-21 14:58:31 +02:00
|
|
|
!empty(PKG_BUILD_OPTIONS.openldap-client:Msasl)
|
2018-01-07 14:03:53 +01:00
|
|
|
. include "../../security/cyrus-sasl/buildlink3.mk"
|
2014-07-21 14:57:20 +02:00
|
|
|
. endif
|
2018-01-07 14:03:53 +01:00
|
|
|
.endif
|
2006-05-31 20:18:34 +02:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2009-03-20 20:23:50 +01:00
|
|
|
.endif # OPENLDAP_BUILDLINK3_MK
|
2006-05-31 20:18:34 +02:00
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
BUILDLINK_TREE+= -openldap-client
|