1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

dns/ldapdns: Fix build with OpenLDAP 2.5

PR:		ports/258899
Approved by:	Chris Hutchinson (maintainer)
This commit is contained in:
Xin LI 2021-10-03 17:21:06 -07:00
parent 379597b79b
commit b894b7b05e
2 changed files with 12 additions and 1 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= ldapdns
PORTVERSION= 2.07
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= dns
MASTER_SITES= https://BSDforge.com/projects/source/dns/ldapdns/

View File

@ -0,0 +1,11 @@
--- configure.orig 2004-12-31 03:15:21 UTC
+++ configure
@@ -278,7 +278,7 @@ else
fi
-LIBS="$LIBS -lldap_r -llber"
+LIBS="$LIBS -lldap -llber"
echo -n "Checking OpenLDAP dependencies: "
cat > test_1.c <<__test_1_eof
#include <ldap.h>