ports/www/nginx/patches/patch-nginx-auth-ldap_config

14 lines
401 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: nginx-auth-ldap/config
--- nginx-auth-ldap/config.orig
+++ nginx-auth-ldap/config
@@ -3,6 +3,9 @@ ngx_addon_name=ngx_http_auth_ldap_module
LDAP_REQUIRED_LIBS="-lldap"
case "$NGX_PLATFORM" in
+ OpenBSD:*)
+ LDAP_REQUIRED_LIBS="-L${LOCALBASE}/lib $LDAP_REQUIRED_LIBS"
+ ;;
Darwin:*|FreeBSD:*|Linux:*|SunOS:*)
LDAP_REQUIRED_LIBS="$LDAP_REQUIRED_LIBS -llber"
;;