From 193ba6cb0a4e5818e8ab4e98769780651452bf68 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Sun, 3 Oct 2021 17:21:06 -0700 Subject: [PATCH] dns/ldapdns: Fix build with OpenLDAP 2.5 --- dns/ldapdns/Makefile | 2 +- dns/ldapdns/files/patch-configure | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 dns/ldapdns/files/patch-configure 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 -- 2.32.0