summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/php80/Makefile.ext5
-rw-r--r--lang/php81/Makefile3
-rw-r--r--lang/php82/Makefile3
3 files changed, 4 insertions, 7 deletions
diff --git a/lang/php80/Makefile.ext b/lang/php80/Makefile.ext
index 8f47bdbfa6a0..8621f7c23145 100644
--- a/lang/php80/Makefile.ext
+++ b/lang/php80/Makefile.ext
@@ -179,7 +179,7 @@ CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \
PHP_OPENSSL=yes
-
+
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
USES+= ssl
.endif
@@ -197,8 +197,7 @@ BUILD_DEPENDS= re2c:devel/re2c
.if ${PHP_MODNAME} == "ldap"
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} --with-ldap-sasl=${LOCALBASE}
-
-USE_OPENLDAP= yes
+USE+= ldap
.endif
.if ${PHP_MODNAME} == "mbstring"
diff --git a/lang/php81/Makefile b/lang/php81/Makefile
index 88e42e1399c3..d4459d4f88b7 100644
--- a/lang/php81/Makefile
+++ b/lang/php81/Makefile
@@ -363,8 +363,7 @@ BUILD_DEPENDS= re2c:devel/re2c
.if ${PHP_MODNAME} == "ldap"
CONFIGURE_ARGS+= --with-ldap-sasl=${LOCALBASE} \
--with-ldap=${LOCALBASE}
-
-USE_OPENLDAP= yes
+USES+= ldap
.endif
.if ${PHP_MODNAME} == "mbstring"
diff --git a/lang/php82/Makefile b/lang/php82/Makefile
index 8757e39835e3..f3c553f590a9 100644
--- a/lang/php82/Makefile
+++ b/lang/php82/Makefile
@@ -364,8 +364,7 @@ BUILD_DEPENDS= re2c:devel/re2c
.if ${PHP_MODNAME} == "ldap"
CONFIGURE_ARGS+= --with-ldap-sasl=${LOCALBASE} \
--with-ldap=${LOCALBASE}
-
-USE_OPENLDAP= yes
+USES+= ldap
.endif
.if ${PHP_MODNAME} == "mbstring"