Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2005 18:54:14 +0000
From:      Lewis Thompson <lewiz@fajita.org>
To:        ports@freebsd.org
Subject:   Question about fix for ports/77051.
Message-ID:  <20050212185414.GA28519@black.fajita.org>

next in thread | raw e-mail | index | archive | help
Hi,

I was just wondering about how to get ports/77051
(http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/77051) closed.  I
think the description is slightly wrong -- he must have compiled
WITH_LDAP defined.

I saw that bsd.port.mk has a WANT_OPENLDAP_SASL flag but this seems
useless.  Would it be best to change:

.if defined(WITH_LDAP) 
USE_OPENLDAP=   yes
LDAP_PREFIX?=   ${LOCALBASE}
.endif

to:

.if defined(WITH_LDAP) 
USE_OPENLDAP=   yes
LDAP_PREFIX?=   ${LOCALBASE}
.if exists(${LOCALBASE}/lib/libsasl2.so)
LDFLAGS+=	-lsasl2
LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
.endif
.endif

Any suggestions?

-Lewis Thompson.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.
-| msn:lewiz@fajita.org | jabber:lewiz@jabber.org | url:www.lewiz.org |-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050212185414.GA28519>