From nobody Mon Jan 10 10:54:27 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 065A519521B7; Mon, 10 Jan 2022 10:54:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JXW0z59Pvz3tBL; Mon, 10 Jan 2022 10:54:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8720B23EDE; Mon, 10 Jan 2022 10:54:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20AAsRVr085370; Mon, 10 Jan 2022 10:54:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20AAsRFq085369; Mon, 10 Jan 2022 10:54:27 GMT (envelope-from git) Date: Mon, 10 Jan 2022 10:54:27 GMT Message-Id: <202201101054.20AAsRFq085369@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: f0dd69ce6298 - main - lang/php81: Fix some compile-time warning List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f0dd69ce62987415664eb8d9dba3dde079a19a38 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641812067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hs9upz+XXjGzFGbUS+5UIqG0BGeH7Kp6t7qV5QXosEk=; b=ZrpvmQwVnyMxUtQCDNWe4DVvjFJB+sImYIFZhdFn7wVjveGy5yVXJFeNVpbsgt1ZQotI1M zq0H0XAOcOpOz4LB10i4N8/oT0umonoGScg2CzJgf7xoSthjFvqw/bqkW0wNQsV6WyhIx1 oDNJL1RfnrAWWoq4jDj/+0rAKgErM2pvnNkGR0nveDccApyTh1by4XN92Y5t+DsAoP7PYs hmbM896HDPoEvrcJxcpjdYh3Gpis61ASEtN1Nh7FoiEWEyGpibMvM/ysKKI3i/Svnr4A+I /Wd8t1Sm6IVz/tvx7W12dM6s+/muwG19rromUYcIEogl7mOy1UqqI6aPK2BQtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641812067; a=rsa-sha256; cv=none; b=M3qqcHbpRKVgXQRr4KV8KYCwbHIDjWL/4Ej5txmY8gUx5/G9qiMHcdP+EjZM69MPHqJyoK OwXNF/i/6o87tpMNb1cmipG9B7Xoh4x+Iuj1+ZTmXL8djPE0/6fzqk+gW8PD04iuuTv2jt c/eqbL6vc/fTdxLa8RXcdYocMVRSllp3SAxw0q8nWOo+jeIa4xJtxd79lyckv+axffxsGX N24vnjDyMc4XJSLqq+Ls9fLmidcwIBsj+BfpA77ju8I+YAY8JvDVIfF4Iq8d8jl5M14IDT ZVck+LV67QE9RE4CXVToRC9OYEMGEwoDaLsQZKdRLiao7HEigYwMO7eo7u2yFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f0dd69ce62987415664eb8d9dba3dde079a19a38 commit f0dd69ce62987415664eb8d9dba3dde079a19a38 Author: Muhammad Moinur Rahman AuthorDate: 2022-01-10 10:52:42 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-01-10 10:52:42 +0000 lang/php81: Fix some compile-time warning Sponsored by: Bounce Experts --- lang/php81/Makefile | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/lang/php81/Makefile b/lang/php81/Makefile index 1a2919fa1ffb..14f0dd453fec 100644 --- a/lang/php81/Makefile +++ b/lang/php81/Makefile @@ -264,19 +264,17 @@ CONFIGURE_ARGS+= --enable-exif .if ${PHP_MODNAME} == "ffi" LIB_DEPENDS= libffi.so:devel/libffi -CONFIGURE_ARGS+= --enable-ffi +CONFIGURE_ARGS+= --with-ffi .endif .if ${PHP_MODNAME} == "fileinfo" -CONFIGURE_ARGS+= --enable-fileinfo \ - --with-pcre-dir=${LOCALBASE} +CONFIGURE_ARGS+= --enable-fileinfo PHP_HEADER_DIRS= libmagic .endif .if ${PHP_MODNAME} == "filter" -CONFIGURE_ARGS+= --enable-filter \ - --with-pcre-dir=${LOCALBASE} +CONFIGURE_ARGS+= --enable-filter .endif .if ${PHP_MODNAME} == "ftp" @@ -344,8 +342,7 @@ PANDA_LIB_DEPENDS= libc-client4.so.10:mail/panda-cclient PANDA_LIB_DEPENDS_OFF= libc-client4.so.9:mail/cclient CONFIGURE_ARGS+= --with-imap-ssl=${OPENSSLBASE} \ - --with-imap=${LOCALBASE} \ - --with-pcre-dir=${LOCALBASE} + --with-imap=${LOCALBASE} CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \ @@ -375,15 +372,13 @@ USE_OPENLDAP= yes .if ${PHP_MODNAME} == "mbstring" -CONFIGURE_ARGS+= --enable-mbstring \ - --with-pcre-dir=${LOCALBASE} +CONFIGURE_ARGS+= --enable-mbstring OPTIONS_DEFINE= REGEX OPTIONS_DEFAULT= REGEX REGEX_DESC= Enable multibyte regex support REGEX_LIB_DEPENDS= libonig.so:devel/oniguruma -REGEX_CONFIGURE_ON= --with-onig=${LOCALBASE} REGEX_CONFIGURE_OFF= --disable-mbregex PHP_HEADER_DIRS= libmbfl libmbfl/filters libmbfl/mbfl libmbfl/nls @@ -489,8 +484,7 @@ CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE} .endif .if ${PHP_MODNAME} == "phar" -CONFIGURE_ARGS+= --enable-phar \ - --with-pcre-dir=${LOCALBASE} +CONFIGURE_ARGS+= --enable-phar .endif .if ${PHP_MODNAME} == "posix" @@ -518,16 +512,14 @@ CONFIGURE_ARGS+= --enable-shmop .endif .if ${PHP_MODNAME} == "simplexml" -CONFIGURE_ARGS+= --enable-simplexml \ - --with-pcre-dir=${LOCALBASE} +CONFIGURE_ARGS+= --enable-simplexml USES+= pkgconfig USE_GNOME= libxml2 .endif .if ${PHP_MODNAME} == "snmp" -CONFIGURE_ARGS+= --with-openssl-dir=${OPENSSLBASE} \ - --with-snmp=${LOCALBASE} +CONFIGURE_ARGS+= --with-snmp=${LOCALBASE} CONFIGURE_ENV+= ac_cv_buggy_snprint_value="no" @@ -623,9 +615,7 @@ USE_PHP= dom:build xml:build .if ${PHP_MODNAME} == "zip" LIB_DEPENDS+= libzip.so:archivers/libzip -CONFIGURE_ARGS+= --enable-zip \ - --with-libzip=${LOCALBASE} \ - --with-pcre-dir=${LOCALBASE} \ +CONFIGURE_ARGS+= --with-zip \ --with-zlib-dir=/usr USES+= pkgconfig .endif