Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2019 14:16:26 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513384 - head/lang/php74
Message-ID:  <201909301416.x8UEGQuR056176@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909301416.x8UEGQuR056176>