What users should use is WITH_LDAP and USE_OPENLDAP is for ports
system. Submitted by: Alex Dupre <sysadmin@alexdupre.com> PR: ports/59151
This commit is contained in:
parent
cc62d19c11
commit
241fff111c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93814
@ -35,10 +35,8 @@ MAN7= gnupg.7
|
||||
.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
|
||||
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
|
||||
.endif
|
||||
.if defined(USE_OPENLDAP) || exists(${PREFIX}/lib/libldap.so.2)
|
||||
WITH_LDAP= yes
|
||||
.endif
|
||||
.if defined(WITH_LDAP)
|
||||
.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so.2)
|
||||
USE_OPENLDAP= yes
|
||||
PLIST_SUB+= WITH_LDAP=""
|
||||
.else
|
||||
PLIST_SUB+= WITH_LDAP="@comment "
|
||||
|
@ -35,10 +35,8 @@ MAN7= gnupg.7
|
||||
.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
|
||||
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
|
||||
.endif
|
||||
.if defined(USE_OPENLDAP) || exists(${PREFIX}/lib/libldap.so.2)
|
||||
WITH_LDAP= yes
|
||||
.endif
|
||||
.if defined(WITH_LDAP)
|
||||
.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so.2)
|
||||
USE_OPENLDAP= yes
|
||||
PLIST_SUB+= WITH_LDAP=""
|
||||
.else
|
||||
PLIST_SUB+= WITH_LDAP="@comment "
|
||||
|
Loading…
Reference in New Issue
Block a user