diff options
-rw-r--r-- | lang/php5/Makefile.ext | 4 | ||||
-rw-r--r-- | lang/php53/Makefile.ext | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext index 02aadbc30f08..49b14689829d 100644 --- a/lang/php5/Makefile.ext +++ b/lang/php5/Makefile.ext @@ -149,6 +149,10 @@ USE_GCC= 3.4+ CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} USE_OPENLDAP= yes + +. ifdef(WANT_OPENLDAP_SASL) +CONFIGURE_ARGS+=--with-ldap-sasl +. endif .endif .if ${PHP_MODNAME} == "mbstring" diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext index 02aadbc30f08..49b14689829d 100644 --- a/lang/php53/Makefile.ext +++ b/lang/php53/Makefile.ext @@ -149,6 +149,10 @@ USE_GCC= 3.4+ CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} USE_OPENLDAP= yes + +. ifdef(WANT_OPENLDAP_SASL) +CONFIGURE_ARGS+=--with-ldap-sasl +. endif .endif .if ${PHP_MODNAME} == "mbstring" |