diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2004-08-13 19:38:58 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2004-08-13 19:38:58 +0000 |
commit | b86cc0a18e935ae7c13d1e589547a4d205f4f710 (patch) | |
tree | 7dc072b9c377ad1c07686d17bb76f805e3c5bc5c /mail/sendmail | |
parent | aba1060f87912e3ab00ee65cdbdcd6ff23273404 (diff) | |
download | ports-b86cc0a18e935ae7c13d1e589547a4d205f4f710.tar.gz ports-b86cc0a18e935ae7c13d1e589547a4d205f4f710.zip |
Notes
Diffstat (limited to 'mail/sendmail')
-rw-r--r-- | mail/sendmail/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index f19828ddc180..3add0aec1a24 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -33,7 +33,6 @@ MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \ SENDMAIL= ${PREFIX}/sbin/sendmail BASEMAIL= /usr/libexec/sendmail/sendmail PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==} -LDAP_PORT?= net/openldap21-client PKGMESSAGE= ${WRKSRC}/pkg-message # Options to define Features: @@ -66,8 +65,13 @@ CONFLICTS+= sendmail+tls-8.* \ sendmail+sasl1-8.* \ sendmail+sasl2-8.* CONFLICTS+= sendmail-sasl-8.* sendmail-sasl2-8.* sendmail-tls-8.* -LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT} -LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT} +.if defined(LDAP_PORT) +OPENLDAP_LIB?= libldap.so.2 +BUILD_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT} +RUN_DEPENDS+= ${LOCALBASE}/lib/${OPENLDAP_LIB}:${PORTSDIR}/${LDAP_PORT} +.else +USE_OPENLDAP_VER?= 21 +.endif .else CONFLICTS+= sendmail*+ldap*-8.* .endif |