aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2021-10-04 00:21:06 +0000
committerXin LI <delphij@FreeBSD.org>2021-10-10 17:14:13 +0000
commitb894b7b05ef153943e6a830c2c7a69a790d4f648 (patch)
treebd8dc086a4920d73d099ca524bd83b0232afe11a /dns
parent379597b79b3a22dbd1995440c69e003a7ae17a35 (diff)
downloadports-b894b7b05ef153943e6a830c2c7a69a790d4f648.tar.gz
ports-b894b7b05ef153943e6a830c2c7a69a790d4f648.zip
dns/ldapdns: Fix build with OpenLDAP 2.5
PR: ports/258899 Approved by: Chris Hutchinson (maintainer)
Diffstat (limited to 'dns')
-rw-r--r--dns/ldapdns/Makefile2
-rw-r--r--dns/ldapdns/files/patch-configure11
2 files changed, 12 insertions, 1 deletions
diff --git a/dns/ldapdns/Makefile b/dns/ldapdns/Makefile
index d517c578330a..24c3d5d56d34 100644
--- a/dns/ldapdns/Makefile
+++ b/dns/ldapdns/Makefile
@@ -2,7 +2,7 @@
PORTNAME= ldapdns
PORTVERSION= 2.07
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= dns
MASTER_SITES= https://BSDforge.com/projects/source/dns/ldapdns/
diff --git a/dns/ldapdns/files/patch-configure b/dns/ldapdns/files/patch-configure
new file mode 100644
index 000000000000..52f917c0e5bb
--- /dev/null
+++ b/dns/ldapdns/files/patch-configure
@@ -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>