- Fix build on 11.x+ (only add -fgnu89-inline to CFLAGS, not CXXFLAGS)

- Add LICENSE

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2016-09-04 13:19:28 +00:00
parent 144a593cea
commit ad3bc4a882
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421332

View File

@ -9,9 +9,12 @@ MASTER_SITES= http://www.phpcompiler.org/src/archive/
MAINTAINER= eg@fbsd.lt
COMMENT= Compiler for the PHP language
USES= gmake
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/license/LICENSE
USES= gmake
GNU_CONFIGURE= yes
CFLAGS+= -fgnu89-inline
MAKE_ARGS= CFLAGS="${CFLAGS} -fgnu89-inline"
post-patch: .SILENT
${REINPLACE_CMD} 's/g++/$$CXX/' \