svn commit: r512856 - head/databases/php-memcache

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Sep 25 20:55:08 UTC 2019


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>


More information about the svn-ports-all mailing list