diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-11-28 11:43:28 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-11-28 11:43:28 +0000 |
commit | 1c642a5bb1674ca52e09dd10ec6b0261519f86e1 (patch) | |
tree | bd851d0fce705c13f939210c10579ad4b238d741 /lang/phc | |
parent | - Update to 3.12.1 (diff) |
- Fix build with CLANG
PR: 162540
Submitted by: Jan Beich <jbeich@tormail.net>
Approved by: maintainer timeout
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=286563
Diffstat (limited to 'lang/phc')
-rw-r--r-- | lang/phc/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lang/phc/Makefile b/lang/phc/Makefile index 25694eccba69..5593fa78b8f4 100644 --- a/lang/phc/Makefile +++ b/lang/phc/Makefile @@ -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> |