Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2021 17:14:50 GMT
From:      Xin LI <delphij@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b894b7b05ef1 - main - dns/ldapdns: Fix build with OpenLDAP 2.5
Message-ID:  <202110101714.19AHEo2w030714@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by delphij:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b894b7b05ef153943e6a830c2c7a69a790d4f648

commit b894b7b05ef153943e6a830c2c7a69a790d4f648
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2021-10-04 00:21:06 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2021-10-10 17:14:13 +0000

    dns/ldapdns: Fix build with OpenLDAP 2.5
    
    PR:             ports/258899
    Approved by:    Chris Hutchinson (maintainer)
---
 dns/ldapdns/Makefile              |  2 +-
 dns/ldapdns/files/patch-configure | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110101714.19AHEo2w030714>