From owner-svn-ports-head@freebsd.org Wed Nov 6 17:01:41 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3D2B71BA837; Wed, 6 Nov 2019 17:01:41 +0000 (UTC) (envelope-from pkubaj@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 477Xr50yW0z4M4S; Wed, 6 Nov 2019 17:01:41 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0592C1CA; Wed, 6 Nov 2019 17:01:41 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xA6H1edr051498; Wed, 6 Nov 2019 17:01:40 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xA6H1ehw051497; Wed, 6 Nov 2019 17:01:40 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201911061701.xA6H1ehw051497@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Wed, 6 Nov 2019 17:01:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r516904 - head/Mk/Uses X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/Mk/Uses X-SVN-Commit-Revision: 516904 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2019 17:01:41 -0000 Author: pkubaj Date: Wed Nov 6 17:01:40 2019 New Revision: 516904 URL: https://svnweb.freebsd.org/changeset/ports/516904 Log: Mk/Uses/php.mk: fix build of all PHP modules when using php74 on GCC architectures php74 introduced C11 requirement and all optional PHP modules available in the ports tree need to use C11 compiler. PR: 240883 Approved by: portmgr Modified: head/Mk/Uses/php.mk Modified: head/Mk/Uses/php.mk ============================================================================== --- head/Mk/Uses/php.mk Wed Nov 6 16:56:19 2019 (r516903) +++ head/Mk/Uses/php.mk Wed Nov 6 17:01:40 2019 (r516904) @@ -130,7 +130,7 @@ IGNORE= does not work with PHP versions "${IGNORE_WITH PHP_VER?= ${PHP_DEFAULT:S/.//} . endif # .if exists(${PHPBASE}/etc/php.conf) -# Use the "default" php version as th first version for flavors, so that it +# Use the "default" php version as the first version for flavors, so that it # gets to be the default flavor. _ALL_FLAVOR_VERSIONS= ${PHP_VER} ${_ALL_PHP_VERSIONS:N${PHP_VER}} @@ -158,6 +158,10 @@ FLAVORS:= ${_ALL_FLAVOR_VERSIONS:S/^/php/} FLAVOR= ${FLAVORS:[1]} . endif . endif + +.if ${PHP_VER} == 74 && (${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64) +USE_GCC= yes +.endif # This variable is for dependencies lines, so you write: # ${PHP_PKGNAMEPREFIX}foo:devel/php-foo@${PHP_FLAVOR}