SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
www/nginx/patches/patch-nginx-auth-ldap_config
Normal file
13
www/nginx/patches/patch-nginx-auth-ldap_config
Normal 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"
|
||||
;;
|
Loading…
Add table
Add a link
Reference in a new issue