diff options
author | Xin LI <delphij@FreeBSD.org> | 2010-04-19 21:38:17 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2010-04-19 21:38:17 +0000 |
commit | ef21818d22610798880c5e98a400d67fa40c57ea (patch) | |
tree | 3fb19a48d8a644c4f330d860fe8656a1c6462dea /Mk/bsd.ldap.mk | |
parent | f1278862660627294bf1779e978aa84c7540711f (diff) | |
download | ports-ef21818d22610798880c5e98a400d67fa40c57ea.tar.gz ports-ef21818d22610798880c5e98a400d67fa40c57ea.zip |
Notes
Diffstat (limited to 'Mk/bsd.ldap.mk')
-rw-r--r-- | Mk/bsd.ldap.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Mk/bsd.ldap.mk b/Mk/bsd.ldap.mk index 8d89bcb1400f..c8311000899a 100644 --- a/Mk/bsd.ldap.mk +++ b/Mk/bsd.ldap.mk @@ -64,10 +64,14 @@ IGNORE= cannot install: OpenLDAP versions mismatch: openldap${_OPENLDAP_VER}-cli CFLAGS+= -DLDAP_DEPRECATED +_OPENLDAP_CLIENT_PKG!= ${PKG_INFO} -Ex openldap.\*-client || ${TRUE} +_OPENLDAP_FLAVOUR= ${_OPENLDAP_CLIENT_PKG:C/openldap//:C/-client-.*//} + .if defined(WANT_OPENLDAP_SASL) +.if !empty(_OPENLDAP_CLIENT_PKG) && empty(_OPENLDAP_FLAVOUR) +IGNORE= cannot install: SASL support requested and ${_OPENLDAP_CLIENT_PKG} is installed +.endif _OPENLDAP_FLAVOUR= -sasl -.else -_OPENLDAP_FLAVOUR= .endif # And now we are checking if we can use it |