summaryrefslogtreecommitdiff
path: root/Mk/Uses/php.mk
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2019-11-29 15:02:14 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2019-11-29 15:02:14 +0000
commit95a1d26f49538d1129bffceed25e282742a7dac2 (patch)
tree6daf2e88305883a063dea6c60b51dfa628f68750 /Mk/Uses/php.mk
parentnet/corosync3: update 2.99.2 to 2.99.5 (diff)
Mk/bsd.port.mk: detect powerpc64 abi
We'll have a new abi on ppc64 soon (ELFv2) which is incompatible with the ELFv1 abi. We need to detect the abi on which we build stuff. Submitted by: mikael_urankar@gmail.com Approved by: portmgr (earlier version) Differential Revision: https://reviews.freebsd.org/D22039
Notes
Notes: svn path=/head/; revision=518658
Diffstat (limited to 'Mk/Uses/php.mk')
-rw-r--r--Mk/Uses/php.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk
index b04f90022d12..132a46cd77d5 100644
--- a/Mk/Uses/php.mk
+++ b/Mk/Uses/php.mk
@@ -159,7 +159,7 @@ FLAVOR= ${FLAVORS:[1]}
. endif
. endif
-.if ${PHP_VER} == 74 && (${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64)
+.if ${PHP_VER} == 74 && (${ARCH:Mmips*} || (${ARCH:Mpowerpc*} && !exists(/usr/bin/clang)) || ${ARCH} == sparc64)
USE_GCC= yes
.endif