diff options
Diffstat (limited to 'lang/phc/Makefile')
-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> |