diff options
Diffstat (limited to 'lang/php85/Makefile')
| -rw-r--r-- | lang/php85/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/lang/php85/Makefile b/lang/php85/Makefile index 53b6b9034f59..a1ab876f2788 100644 --- a/lang/php85/Makefile +++ b/lang/php85/Makefile @@ -1,5 +1,5 @@ PORTNAME= php85 -DISTVERSION= 8.5.0 +DISTVERSION= 8.5.1 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions @@ -18,8 +18,7 @@ PHP_VER= 85 CONFLICTS_INSTALL?= php[0-9][0-9]${PKGNAMESUFFIX} .if !defined(PKGNAMESUFFIX) -LIB_DEPENDS= libargon2.so:security/libargon2 \ - libcapstone.so:devel/capstone \ +LIB_DEPENDS= libcapstone.so:devel/capstone \ libpcre2-8.so:devel/pcre2 GNU_CONFIGURE= yes @@ -29,8 +28,7 @@ CONFIGURE_ARGS+= \ --with-config-file-scan-dir=${PREFIX}/etc/php \ --with-layout=GNU \ --with-libxml \ - --with-openssl \ - --with-password-argon2=${LOCALBASE} + --with-openssl USES+= autoreconf:build bison ssl USE_GNOME= libxml2 @@ -80,8 +78,8 @@ FPM_VARS= PHP_SAPI+=fpm \ USE_RC_SUBR+=php_fpm IPV6_CONFIGURE_OFF= --disable-ipv6 LINKTHR_LIBS= -lpthread -NOASLR_USES= elfctl MYSQLND_CONFIGURE_ON= --enable-mysqlnd +NOASLR_USES= elfctl PCRE_BUILD_DEPENDS= re2c>0:devel/re2c PCRE_CONFIGURE_ON= --with-external-pcre=${LOCALBASE} PCRE_PLIST_SUB= BUNDLED_PCRE="@comment " @@ -136,6 +134,13 @@ PLIST_SUB+= SAPI_INC="" PLIST_SUB+= SAPI_INC="@comment " . endif +. if (${OSVERSION} >= 1500000 && ${SSL_DEFAULT} == base) || (${SSL_DEFAULT:Mopenssl*} && ${OPENSSL_SHLIBVER} >= 15) +CONFIGURE_ARGS+= --with-openssl-argon2 +. else +LIB_DEPENDS+= libargon2.so:security/libargon2 +CONFIGURE_ARGS+= --with-password-argon2=${LOCALBASE} +. endif + CONFIGURE_ENV+= ac_cv_decimal_fp_supported="no" \ lt_cv_path_SED="sed" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ |
