diff --git a/lang/php4/Makefile b/lang/php4/Makefile index 19eb6811c08b..127ec13bc077 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -440,7 +440,7 @@ CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} .endif .if defined(WITH_OPENSSL) || defined(WITH_OPENSSL_DEP) -USE_OPENSSL= yes +.include "${PORTSDIR}/Mk/bsd.openssl.mk" CONFIGURE_ARGS+=--with-openssl-dir=${OPENSSLBASE} .endif diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 9d725812fd40..613844448a9f 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -422,7 +422,7 @@ CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} .endif .if defined(WITH_OPENSSL) || defined(WITH_OPENSSL_DEP) -USE_OPENSSL= yes +.include "${PORTSDIR}/Mk/bsd.openssl.mk" CONFIGURE_ARGS+=--with-openssl-dir=${OPENSSLBASE} .endif diff --git a/lang/php53/Makefile b/lang/php53/Makefile index 9d725812fd40..613844448a9f 100644 --- a/lang/php53/Makefile +++ b/lang/php53/Makefile @@ -422,7 +422,7 @@ CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} .endif .if defined(WITH_OPENSSL) || defined(WITH_OPENSSL_DEP) -USE_OPENSSL= yes +.include "${PORTSDIR}/Mk/bsd.openssl.mk" CONFIGURE_ARGS+=--with-openssl-dir=${OPENSSLBASE} .endif