ports/188942: [security/sssd] Remove libldap.so from LIB_DEPENDS, it is already added by USE_OPENLDAP

Craig Rodrigues rodrigc at freebsd.org
Thu Apr 24 07:40:00 UTC 2014


>Number:         188942
>Category:       ports
>Synopsis:       [security/sssd] Remove libldap.so from LIB_DEPENDS, it is already added by USE_OPENLDAP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 24 07:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Craig Rodrigues
>Release:        
>Organization:
>Environment:
>Description:
Do not explicitly add libldap.so to LIB_DEPENDS.
Since USE_OPENLDAP is already defined in this Makefile, bsd.ldap.mk
already adds the dependency to LIB_DEPENDS.

I uncovered this problem when I set WANT_OPENLDAP_SASL in my /etc/make.conf,
and the seurity/sssd was depending on the SASL and non-SASL version
of libldap, when I built my tree with poudriere.

Fix:

--- Makefile.orig       2014-04-24 00:34:04.794966405 -0700
+++ Makefile    2014-04-24 00:34:10.981965774 -0700
@@ -26,7 +26,6 @@
                libnss3.so:${PORTSDIR}/security/nss \
                libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 \
                libkrb5.so:${PORTSDIR}/security/krb5 \
-               libldap.so:${PORTSDIR}/net/openldap24-client \
                libinotify.so:${PORTSDIR}/devel/libinotify
 BUILD_DEPENDS= xmlcatalog:${PORTSDIR}/textproc/libxml2 \
                docbook-xsl>=1:${PORTSDIR}/textproc/docbook-xsl \

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list