aboutsummaryrefslogtreecommitdiff
path: root/lang/phc
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-04 13:19:28 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-04 13:19:28 +0000
commitad3bc4a882ef8a84a5e27e272ecb2e5c70890d0e (patch)
tree6d19a616fa3105bd336c16ffed67e783fee34780 /lang/phc
parent144a593cea9b64f05e530ceeb63d207bc3f940e9 (diff)
downloadports-ad3bc4a882ef8a84a5e27e272ecb2e5c70890d0e.tar.gz
ports-ad3bc4a882ef8a84a5e27e272ecb2e5c70890d0e.zip
Notes
Diffstat (limited to 'lang/phc')
-rw-r--r--lang/phc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/phc/Makefile b/lang/phc/Makefile
index 2bc40b14d7e0..cdad2cea6609 100644
--- a/lang/phc/Makefile
+++ b/lang/phc/Makefile
@@ -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/' \