- 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:
parent
56dbebea9f
commit
1c642a5bb1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286563
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user