aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2021-05-11 16:43:38 +0000
committerXin LI <delphij@FreeBSD.org>2021-05-11 16:43:39 +0000
commitd4a6b63b1c335f04cefbdba7b12b8dbb970e9976 (patch)
tree0abcea0a7c20b140ede2966ed8b34c0fb8422a31
parent45438e74330c2c62867565587c569d893fbff3e3 (diff)
downloadports-d4a6b63b1c335f04cefbdba7b12b8dbb970e9976.tar.gz
ports-d4a6b63b1c335f04cefbdba7b12b8dbb970e9976.zip
net/openldap24-server: Use local libraries paths for libltdl is used.
Reported by: O. Hartmann PR: 255795
-rw-r--r--net/openldap24-server/Makefile1
1 files changed, 1 insertions, 0 deletions
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