Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2019 20:55:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512856 - head/databases/php-memcache
Message-ID:  <201909252055.x8PKt7fp091017@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Sep 25 20:55:07 2019
New Revision: 512856
URL: https://svnweb.freebsd.org/changeset/ports/512856

Log:
  Fix build on GCC architectures with PHP 7.4
  
  PR:		240813
  Submitted by:	pkubaj

Modified:
  head/databases/php-memcache/Makefile

Modified: head/databases/php-memcache/Makefile
==============================================================================
--- head/databases/php-memcache/Makefile	Wed Sep 25 20:55:02 2019	(r512855)
+++ head/databases/php-memcache/Makefile	Wed Sep 25 20:55:07 2019	(r512856)
@@ -29,4 +29,10 @@ post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	${INSTALL_DATA} ${WRKSRC}/example.php ${STAGEDIR}${EXAMPLESDIR}/
 
+.include <bsd.port.options.mk>
+
+.if ${FLAVOR} == php74
+USES+=		compiler:c11
+.endif
+
 .include <bsd.port.mk>



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