aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2021-08-01 19:08:52 +0000
committerXin LI <delphij@FreeBSD.org>2021-08-01 19:10:11 +0000
commit80df02c5cbfa308542602c54645bbc574031316f (patch)
treebfddcf7bc8ef3e425db7b00e4f835138e2f41df5
parente00945cb356678e67ae37e19cfef3f6b06dcf6c9 (diff)
downloadports-80df02c5cbfa308542602c54645bbc574031316f.tar.gz
ports-80df02c5cbfa308542602c54645bbc574031316f.zip
net/openldap24-server: Fix GSSAPI dependency
<OPTION>_RUN_DEPENDS has to appear before bsd.options.mk. PR: 257529
-rw-r--r--net/openldap24-server/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 89c87dfd1348..160ac1f471b1 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -145,6 +145,8 @@ OPENLDAP_PKGFILESUFX=
CONFIGURE_SED= -e 's,uuid/uuid.h,xxuuid/uuid.h,g'
+GSSAPI_RUN_DEPENDS+= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi
+
.include <bsd.port.options.mk>
.if defined(CLIENT_ONLY)
@@ -185,8 +187,6 @@ CONFIGURE_ARGS= --with-threads=posix \
--enable-dynamic
-GSSAPI_RUN_DEPENDS+= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi
-
LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2
CONFIGURE_ARGS+= --with-cyrus-sasl