[Bug 265293] security/libpki: Fix LDAP option build
Date: Mon, 18 Jul 2022 11:06:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265293
Bug ID: 265293
Summary: security/libpki: Fix LDAP option build
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: eduardo@FreeBSD.org
CC: bruno@ruomad.net
Flags: maintainer-feedback?(bruno@ruomad.net)
CC: bruno@ruomad.net
Created attachment 235330
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235330&action=edit
libpki-0.9.2_2: Fix LDAP option build
Hi,
LDAP option is not building, there's the patch to solve it:
---
-LDAP_LIB_DEPENDS= liblber.so:net/openldap24-client \
- libldap_r.so:net/openldap24-client[1]
+LDAP_USE= OPENLDAP=yes
LDAP_CONFIGURE_ENABLE= ldap
-LDAP_LDFLAGS+= -llber[2]
---
[1] LDAP_USE=OPENLDAP=yes defaults to openldap version 2.6.3 and its the
correct way to setup openldap dependency
[2] LDAP_LDFLAGS+=-llber is causing build to fail
Poudriere tests passes with all option 'on':
---
Architecture .........: bsd (64 bits)
Host System Type .....: amd64-portbld-freebsd14.0
Supported URLs .......: file http https ldap mysql pg dns
^^^^ ^^^^^ ^^ ^^^
---
Please test.
Cheers
--
You are receiving this mail because:
You are the assignee for the bug.