diff options
Diffstat (limited to 'lang/php84/Makefile')
| -rw-r--r-- | lang/php84/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/lang/php84/Makefile b/lang/php84/Makefile index fb750a43e876..52be4c71184e 100644 --- a/lang/php84/Makefile +++ b/lang/php84/Makefile @@ -1,5 +1,5 @@ PORTNAME= php84 -DISTVERSION= 8.4.15 +DISTVERSION= 8.4.16 PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= PHP/distributions @@ -18,8 +18,7 @@ PHP_VER= 84 CONFLICTS_INSTALL?= php[0-9][0-9]${PKGNAMESUFFIX} .if !defined(PKGNAMESUFFIX) -LIB_DEPENDS= libargon2.so:security/libargon2 \ - libpcre2-8.so:devel/pcre2 +LIB_DEPENDS= libpcre2-8.so:devel/pcre2 GNU_CONFIGURE= yes CONFIGURE_ARGS+= \ @@ -28,8 +27,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 ssl USE_GNOME= libxml2 @@ -79,8 +77,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 " @@ -135,6 +133,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}" \ |
