Index: lang/phc/Makefile =================================================================== RCS file: /a/.csup/ports/lang/phc/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- lang/phc/Makefile 17 Sep 2009 21:31:48 -0000 1.6 +++ lang/phc/Makefile 13 Nov 2011 20:09:06 -0000 @@ -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