svn commit: r513384 - head/lang/php74
Piotr Kubaj
pkubaj at FreeBSD.org
Mon Sep 30 14:16:26 UTC 2019
Author: pkubaj
Date: Mon Sep 30 14:16:26 2019
New Revision: 513384
URL: https://svnweb.freebsd.org/changeset/ports/513384
Log:
lang/php74: fix build on GCC architectures
Use C11 compiler because of:
/wrkdirs/usr/ports/lang/php74/work/php-7.4.0RC1/Zend/zend_compile.h:363: error: redefinition of typedef 'zend_property_info'
/wrkdirs/usr/ports/lang/php74/work/php-7.4.0RC1/Zend/zend_types.h:385: error: previous declaration of 'zend_property_info' was here
Disable DTRACE on powerpc64 due to:
dtrace: failed to link script /usr/local/poudriere/ports/default/lang/php74/work/php-7.4.0RC1/Zend/zend_dtrace.d: an error was encountered while processing main/.libs/main.o
PR: 240733
Approved by: tz (maintainer), linimon (mentor)
Modified:
head/lang/php74/Makefile
Modified: head/lang/php74/Makefile
==============================================================================
--- head/lang/php74/Makefile Mon Sep 30 14:16:13 2019 (r513383)
+++ head/lang/php74/Makefile Mon Sep 30 14:16:26 2019 (r513384)
@@ -12,7 +12,7 @@ COMMENT= PHP Scripting Language
LICENSE= PHP301
-USES+= tar:xz cpe gnome pkgconfig
+USES+= compiler:c11 tar:xz cpe gnome pkgconfig
CPE_PRODUCT= php
NO_OPTIONS_SORT=yes
@@ -40,6 +40,7 @@ OPTIONS_EXCLUDE_DragonFly= DTRACE
# ld(1) fails to link probes: Relocations in generic ELF (EM: 0)
OPTIONS_EXCLUDE_aarch64= DTRACE
OPTIONS_EXCLUDE_powerpc= DTRACE
+OPTIONS_EXCLUDE_powerpc64= DTRACE
# dt_modtext:opensolaris/ib/libdtrace/common/dt_link.c: arm not impemented
OPTIONS_EXCLUDE_armv6= DTRACE
OPTIONS_EXCLUDE_armv7= DTRACE
More information about the svn-ports-head
mailing list