Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Sep 2016 13:19:28 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421332 - head/lang/phc
Message-ID:  <201609041319.u84DJSld053923@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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/' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609041319.u84DJSld053923>