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:
Jun Kuriyama 2003-11-12 13:37:25 +00:00
parent cc62d19c11
commit 241fff111c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93814
2 changed files with 4 additions and 8 deletions

View File

@ -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 "

View File

@ -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 "