SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,13 @@
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"
;;