git: d4a6b63b1c33 - main - net/openldap24-server: Use local libraries paths for libltdl is used.

Xin LI delphij at FreeBSD.org
Tue May 11 16:43:47 UTC 2021


The branch main has been updated by delphij:

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

commit d4a6b63b1c335f04cefbdba7b12b8dbb970e9976
Author:     Xin LI <delphij at FreeBSD.org>
AuthorDate: 2021-05-11 16:43:38 +0000
Commit:     Xin LI <delphij at FreeBSD.org>
CommitDate: 2021-05-11 16:43:39 +0000

    net/openldap24-server: Use local libraries paths for libltdl is used.
    
    Reported by:    O. Hartmann
    PR:             255795
---
 net/openldap24-server/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index cd8c07e5eaea..34f5060d595e 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -247,6 +247,7 @@ EXTRA_PATCHES+=		${FILESDIR}/extrapatch-Makefile.in
 
 .if ${PORT_OPTIONS:MDYNAMIC_MODULES} || ${PORT_OPTIONS:MDYNAMIC_BACKENDS} || ${PORT_OPTIONS:MSLAPI}
 LIB_DEPENDS+=		libltdl.so:devel/libltdl
+LDFLAGS+=		-L${LOCALBASE}/lib
 CONFIGURE_ARGS+=	--enable-modules
 PLIST_SUB+=		MODULES=""
 .else


More information about the dev-commits-ports-all mailing list