- Fix build with CLANG

PR:		162540
Submitted by:	Jan Beich <jbeich@tormail.net>
Approved by:	maintainer timeout
Feature safe:	yes
This commit is contained in:
Martin Wilke 2011-11-28 11:43:28 +00:00
parent 56dbebea9f
commit 1c642a5bb1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286563

View File

@ -16,5 +16,12 @@ COMMENT= A compiler for the PHP language
USE_GMAKE= yes
GNU_CONFIGURE= yes
CFLAGS+= -fgnu89-inline
post-patch: .SILENT
${REINPLACE_CMD} 's/g++/$$CXX/' \
${WRKSRC}/phc_compile_plugin.in
${REINPLACE_CMD} 's/insert/this->&/' \
${WRKSRC}/include/phc/lib/List.h
.include <bsd.port.mk>