aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2022-07-19 06:56:19 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2022-07-19 06:56:19 +0000
commitd1d115cf3b998b9036c514c29a48718df0d26c79 (patch)
tree75b3a385dd0c989beb4a99925bf77583b5f850e5
parente0f327d53886f36c5495487b916f32590cc2ce0e (diff)
downloadports-d1d115cf3b998b9036c514c29a48718df0d26c79.tar.gz
ports-d1d115cf3b998b9036c514c29a48718df0d26c79.zip
security/libpki: Fix LDAP option build
- use LDAP_USE= OPENLDAP=yes instead of LIB_DEPENDS on net/openldap24-client - remove LDAP_LDFLAGS+= llber causing build to fail PR: 265293
-rw-r--r--security/libpki/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/security/libpki/Makefile b/security/libpki/Makefile
index 17e62c596635..09a8d085f046 100644
--- a/security/libpki/Makefile
+++ b/security/libpki/Makefile
@@ -1,7 +1,7 @@
PORTNAME= libpki
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
PATCH_SITES= https://github.com/openca/libpki/commit/
@@ -35,10 +35,8 @@ MYSQL_DESC= "Enable MySQL support"
PGSQL_DESC= "Enable PostgreSQL support"
DNS_CONFIGURE_ENABLE= dns
-LDAP_LIB_DEPENDS= liblber.so:net/openldap24-client \
- libldap_r.so:net/openldap24-client
+LDAP_USE= OPENLDAP=yes
LDAP_CONFIGURE_ENABLE= ldap
-LDAP_LDFLAGS+= -llber
MYSQL_USES= mysql
MYSQL_CONFIGURE_ENABLE= mysql
PGSQL_USES= pgsql