svn commit: r421332 - head/lang/phc
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Sep 4 13:19:29 UTC 2016
Author: amdmi3
Date: Sun Sep 4 13:19:28 2016
New Revision: 421332
URL: https://svnweb.freebsd.org/changeset/ports/421332
Log:
- Fix build on 11.x+ (only add -fgnu89-inline to CFLAGS, not CXXFLAGS)
- Add LICENSE
Approved by: portmgr blanket
Modified:
head/lang/phc/Makefile
Modified: head/lang/phc/Makefile
==============================================================================
--- head/lang/phc/Makefile Sun Sep 4 12:06:22 2016 (r421331)
+++ head/lang/phc/Makefile Sun Sep 4 13:19:28 2016 (r421332)
@@ -9,9 +9,12 @@ MASTER_SITES= http://www.phpcompiler.org
MAINTAINER= eg at 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/' \
More information about the svn-ports-all
mailing list