blob: 54061b75c825173360087dd1579fcdcaac5153f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: buildlink2.mk,v 1.7 2004/03/26 02:27:36 wiz Exp $
.if !defined(OPENLDAP_BUILDLINK2_MK)
OPENLDAP_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= openldap
BUILDLINK_DEPENDS.openldap?= openldap>=2.1.22
BUILDLINK_RECOMMENDED.openldap?= openldap>=2.1.25nb3
BUILDLINK_PKGSRCDIR.openldap?= ../../databases/openldap
EVAL_PREFIX+= BUILDLINK_PREFIX.openldap=openldap
BUILDLINK_PREFIX.openldap_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.openldap+= include/lber.h
BUILDLINK_FILES.openldap+= include/lber_types.h
BUILDLINK_FILES.openldap+= include/ldap.h
BUILDLINK_FILES.openldap+= include/ldap_cdefs.h
BUILDLINK_FILES.openldap+= include/ldap_features.h
BUILDLINK_FILES.openldap+= include/ldap_schema.h
BUILDLINK_FILES.openldap+= include/ldap_utf8.h
BUILDLINK_FILES.openldap+= lib/liblber.*
BUILDLINK_FILES.openldap+= lib/libldap.*
BUILDLINK_FILES.openldap+= lib/libldap_r.*
.include "../../mk/bsd.prefs.mk"
.if defined(USE_SASL2) && (${USE_SASL2} == "YES")
. include "../../security/cyrus-sasl2/buildlink2.mk"
.elif defined(USE_SASL) && (${USE_SASL} == "YES")
. include "../../security/cyrus-sasl/buildlink2.mk"
.endif
.include "../../security/openssl/buildlink2.mk"
BUILDLINK_TARGETS+= openldap-buildlink
openldap-buildlink: _BUILDLINK_USE
.endif # OPENLDAP_BUILDLINK2_MK
|