aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/' \